blob: a57344ed439476453a0715882ce276f516c6ac3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/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 origin master >/dev/null 2>&1'
);
system(
'/usr/local/bin/dash',
'-c',
'git -C /usr/local/www/gitjoe pull origin master >/dev/null 2>&1'
);
system(
'/usr/local/bin/dash',
'-c',
'git -C /root/scripts pull origin master >/dev/null 2>&1'
);
print "Updated jozan website, git website and scripts.\n";
exit;
}
main();
__END__
|