Update dapostinstall.sh

This commit is contained in:
Marek Miklewicz
2022-05-13 21:31:02 +02:00
committed by GitHub
parent 8a65373512
commit 015a02052a
+3 -1
View File
@@ -4,6 +4,9 @@ HTLINK="https://ht.zenadmin.pl"
cd $DAPOSTINSTALL_DIR cd $DAPOSTINSTALL_DIR
wget $HTLINK//daupdate.sh -O $DAPOSTINSTALL_DIR/daupdate.sh wget $HTLINK//daupdate.sh -O $DAPOSTINSTALL_DIR/daupdate.sh
chmod 700 $DAPOSTINSTALL_DIR/daupdate.sh chmod 700 $DAPOSTINSTALL_DIR/daupdate.sh
cd /opt/
sh daupdate.sh update
cd $DAPOSTINSTALL_DIR
echo "Tworzenie domyslnego pakietu" echo "Tworzenie domyslnego pakietu"
mkdir -p /usr/local/directadmin/data/users/admin/packages/ mkdir -p /usr/local/directadmin/data/users/admin/packages/
mkdir -p /usr/local/directadmin/data/users/admin/packages mkdir -p /usr/local/directadmin/data/users/admin/packages
@@ -349,7 +352,6 @@ cd /usr/local/directadmin/custombuild
echo "Inne optymalizacje" echo "Inne optymalizacje"
cd $DAPOSTINSTALL_DIR cd $DAPOSTINSTALL_DIR
$DAPOSTINSTALL_DIR/daupdate.sh update
daupdate rblda_full daupdate rblda_full
cd /opt cd /opt
sh /opt/daupdate bbmysql sh /opt/daupdate bbmysql