diff options
-rwxr-xr-x | src/update/vps.pl | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/update/vps.pl b/src/update/vps.pl deleted file mode 100755 index 3d45e06..0000000 --- a/src/update/vps.pl +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/local/bin/perl - -use strict; -use warnings; -use Term::ANSIColor; -use constant GIT_PATH => '/usr/local/bin/git'; - -sub main { - system( - GIT_PATH, - '-C', - '/usr/local/www/jozan', - 'pull', - 'origin', - 'master' - ); - system( - GIT_PATH, - '-C', - '/usr/local/www/gitjoe', - 'pull', - 'origin', - 'master' - ); - system( - GIT_PATH, - '-C', - '/root/scripts', - 'pull', - 'origin', - 'master' - ); - print "Updated jozan website, git website and scripts.\n"; - exit; -} - -main(); - -__END__ |