summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-04-03 00:44:46 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2008-05-12 19:57:06 (GMT)
commit4866ba1f5f12041187526443f1e5f645d97fc04e (patch)
tree0b6ae919c209824ab2b6b3813687e22451a4819c
parent5de3e3517cd0e0f0591348126f83cb586937d1ca (diff)
downloadmoo-4866ba1f5f12041187526443f1e5f645d97fc04e.zip
moo-4866ba1f5f12041187526443f1e5f645d97fc04e.tar.gz
moo-4866ba1f5f12041187526443f1e5f645d97fc04e.tar.bz2
moo-4866ba1f5f12041187526443f1e5f645d97fc04e.tar.xz
Use gzip instead of compress.
-rwxr-xr-xrestart4
-rwxr-xr-xrestart.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/restart b/restart
index a6e5dc3..bad4a22 100755
--- a/restart
+++ b/restart
@@ -28,8 +28,8 @@ endif
if (-r $1.db.new) then
mv $1.db $1.db.old
mv $1.db.new $1.db
- rm -f $1.db.old.Z
- compress $1.db.old &
+ rm -f $1.db.old.gz
+ gzip $1.db.old &
endif
if (-f $1.log) then
diff --git a/restart.sh b/restart.sh
index b9002a6..f5aa384 100755
--- a/restart.sh
+++ b/restart.sh
@@ -28,8 +28,8 @@ fi
if [ -r $1.db.new ]; then
mv $1.db $1.db.old
mv $1.db.new $1.db
- rm -f $1.db.old.Z
- compress $1.db.old &
+ rm -f $1.db.old.gz
+ gzip $1.db.old &
fi
if [ -f $1.log ]; then