diff --git a/readme.txt b/readme.txt index d874849..fec5678 100644 --- a/readme.txt +++ b/readme.txt @@ -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 diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..f77fd2d --- /dev/null +++ b/update.sh @@ -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