summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-05 21:39:05 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-05 21:39:05 +0800
commit2bff3f37cca7f2059e62ef99c354df43c8b5d305 (patch)
tree0da07219f1a9ee916038e39c6e9bd50f8b6c2969 /util
parente4fea8d3d9a8697ecf4fcf6c929919a5aa4d558f (diff)
downloadpttbbs-2bff3f37cca7f2059e62ef99c354df43c8b5d305.tar
pttbbs-2bff3f37cca7f2059e62ef99c354df43c8b5d305.tar.gz
pttbbs-2bff3f37cca7f2059e62ef99c354df43c8b5d305.tar.bz2
pttbbs-2bff3f37cca7f2059e62ef99c354df43c8b5d305.tar.lz
pttbbs-2bff3f37cca7f2059e62ef99c354df43c8b5d305.tar.xz
pttbbs-2bff3f37cca7f2059e62ef99c354df43c8b5d305.tar.zst
pttbbs-2bff3f37cca7f2059e62ef99c354df43c8b5d305.zip
add brd/man
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@81 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/getbackup.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/util/getbackup.pl b/util/getbackup.pl
index 5e566066..29e2c20a 100644
--- a/util/getbackup.pl
+++ b/util/getbackup.pl
@@ -26,6 +26,13 @@ if( $ARGV[0] eq 'usr' ){
`mv home/$prefix/$ARGV[1]/overrides /home/bbs/home/$prefix/$ARGV[1]/overrides`;
}
}
+elsif( $ARGV[0] eq 'brd' ){
+ chdir '/home/bbs';
+ `mv boards/$prefix/$ARGV[1] boards.error/$ARGV[1]`;
+ `tar zxvf backup/board.$prefix.tgz boards/$prefix/$ARGV[1]`;
+}
elsif( $ARGV[0] eq 'man' ){
+ chdir '/home/bbs';
+ `mv man/boards/$prefix/$ARGV[1] boards.error/man.$ARGV[1]`;
+ `tar zxvf backup/man.$prefix.tgz man/boards/$prefix/$ARGV[1]`;
}
-