aboutsummaryrefslogtreecommitdiffstats
path: root/update-serv.pl
blob: 0d58db5dc6430d4a48574ad7b100fff0522528a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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__