diff options
Diffstat (limited to '')
-rwxr-xr-x | update-serv.pl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/update-serv.pl b/update-serv.pl new file mode 100755 index 0000000..0d58db5 --- /dev/null +++ b/update-serv.pl @@ -0,0 +1,23 @@ +#!/usr/local/bin/perl + +use strict; +use warnings; +use Term::ANSIColor; + +sub main { + system( + '/usr/local/bin/dash', + '-c', + 'git -C /usr/local/www/jozan pull >/dev/null 2>&1' + ); + system( + '/usr/local/bin/dash', + '-c', + 'git -C /root/scripts pull >/dev/null 2>&1' + ); + exit; +} + +main(); + +__END__ |