aboutsummaryrefslogtreecommitdiffstats
path: root/update-serv.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 18:21:18 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-07 18:21:18 +0200
commit475715b358a2a05fec4dab403f4b41d605fdb4c5 (patch)
tree9faf16452ef8157a38b20853e72f49ff87b2efd5 /update-serv.pl
parentNew script for the daemon (diff)
downloadjoe-scripts-475715b358a2a05fec4dab403f4b41d605fdb4c5.tar.gz
joe-scripts-475715b358a2a05fec4dab403f4b41d605fdb4c5.tar.bz2
joe-scripts-475715b358a2a05fec4dab403f4b41d605fdb4c5.tar.xz
joe-scripts-475715b358a2a05fec4dab403f4b41d605fdb4c5.tar.zst
joe-scripts-475715b358a2a05fec4dab403f4b41d605fdb4c5.zip
Update serv now updates gitjoe
Diffstat (limited to 'update-serv.pl')
-rwxr-xr-xupdate-serv.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/update-serv.pl b/update-serv.pl
index 0d58db5..77c64ff 100755
--- a/update-serv.pl
+++ b/update-serv.pl
@@ -13,6 +13,11 @@ sub main {
system(
'/usr/local/bin/dash',
'-c',
+ 'git -C /usr/local/www/git-jozan pull >/dev/null 2>&1'
+ );
+ system(
+ '/usr/local/bin/dash',
+ '-c',
'git -C /root/scripts pull >/dev/null 2>&1'
);
exit;