Updated Builder-GetResources and SW-updateScripts

GetExternalResources has function for geting release version from github

PhpMyadmin and elkarbackup(alpine) now have update tools
This commit is contained in:
2021-11-19 01:05:50 +00:00
parent 44ff96bbbd
commit c935713877
8 changed files with 74 additions and 16 deletions

View File

@@ -22,7 +22,9 @@ rm -f /opt/Setup/elkb.tar.gz
chown -R nginx:nginx /opt/elkarbackup
sudo -u nginx php /opt/composer/composer.phar install -n --working-dir=/opt/elkarbackup/srv --no-dev
mv /opt/Setup/Configs/elkarbackupconf.yaml /opt/elkarbackup/srv/config/parameters.yaml
mv /opt/Setup/Elkarbackup-installed /opt/Elkarbackup-installed
sed -i 's#/var/cache/nginx#/opt/elkarbackup/home#g' /etc/passwd
mv /opt/Setup/Scripts/updateElkarbackup.sh /opt/updateElkarbackup.sh
#Configure Nginx
rm -rf /etc/nginx/conf.d