File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 9898
9999# Installing softaculous
100100if [ ! -e " $VESTA /softaculous/vst_installed" ]; then
101+ mkdir -p /var/softaculous
102+ chown -R admin:admin /var/softaculous
101103 cd $VESTA /softaculous
102104 wget -q http://c.vestacp.com/3rdparty/softaculous_install.inc
103105 $VESTA /php/bin/php softaculous_install.inc
104106 check_result $? " vesta-softaculous package installation failed" $E_UPDATE
105107 touch $VESTA /softaculous/vst_installed
106108fi
107109
108- # Adding symlink
109- if [ ! -e " $VESTA /web/softaculous" ]; then
110- ln -s $VESTA /softaculous/vesta $VESTA /web/softaculous
110+ # Enabling symlink
111+ if [ -e " $VESTA /disabled_plugins/softaculous" ]; then
112+ if [ ! -e " $VESTA /web/softaculous" ]; then
113+ mv $VESTA /disabled_plugins/softaculous $VESTA /web/softaculous
114+ fi
111115fi
112116
113117# Updating SOFTACULOUS value
Original file line number Diff line number Diff line change 2929
3030# Deleting symlink
3131if [ -e " $VESTA /web/softaculous" ]; then
32- rm -f $VESTA /web/softaculous
32+ mkdir -p $VESTA /disabled_plugins
33+ mv $VESTA /web/softaculous $VESTA /disabled_plugins
3334fi
3435
3536# Updating SOFTACULOUS value
You can’t perform that action at this time.
0 commit comments