Create update script

master
Heuzef 5 years ago
parent e8e28f412f
commit ea07c89636
  1. 4
      readme.txt
  2. 7
      update.sh

@ -1,7 +1,3 @@
Need to install some perl module :
yum -y install perl-JSON perl-Statistics-Descriptive
Update script :
cd BackupPC-Check
git pull ; \cp -vu Check.pm /usr/share/BackupPC/lib/BackupPC/CGI/Check.pm ; \cp -vu en.pm /usr/share/BackupPC/lib/BackupPC/Lang/en.pm

@ -0,0 +1,7 @@
git pull
sleep 1
\cp -vu /root/BackupPC-Check/Check.pm /usr/share/BackupPC/lib/BackupPC/CGI/Check.pm
sleep 1
\cp -vu /root/BackupPC-Check/ViewCheck.pm /usr/share/BackupPC/lib/BackupPC/CGI/ViewCheck.pm
sleep 1
\cp -vu /root/BackupPC-Check/en.pm /usr/share/BackupPC/lib/BackupPC/Lang/en.pm
Loading…
Cancel
Save