1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 21:04:18 +01:00

*** empty log message ***

This commit is contained in:
kojima
1999-04-10 19:32:34 +00:00
parent 4a473b8ad7
commit 7e07b7b5b9
25 changed files with 3056 additions and 1740 deletions

View File

@@ -122,25 +122,25 @@ fi
echo "Copying defaults database..."
FILES=`(cd $GLOBALDEFDIR;ls *)`
FILES=`(cd $GLOBALDEFDIR;ls -d *)`
all=""
for i in $FILES; do
# xx herbert
if [ -f $GSDIR/Defaults/$i -a -z "$BATCH" ]; then
# /xx herbert
echo "The configuration file \"$i\" already exists in your defaults database."
echo "Do you wish to replace it? <y/n/a> [n] $all"
if [ "$all" != "a" ]; then
read foo
if [ "$foo" = "a" -o "$foo" = "A" ]; then
all="a"
if [ ! -d $GLOBALDEFDIR/$i ]; then
if [ -f $GSDIR/Defaults/$i -a -z "$BATCH" ]; then
echo "The configuration file \"$i\" already exists in your defaults database."
echo "Do you wish to replace it? <y/n/a> [n] $all"
if [ "$all" != "a" ]; then
read foo
if [ "$foo" = "a" -o "$foo" = "A" ]; then
all="a"
fi
fi
fi
if [ "$foo" = "y" -o "$foo" = "Y" -o "$all" = "a" ]; then
if [ "$foo" = "y" -o "$foo" = "Y" -o "$all" = "a" ]; then
copy $GLOBALDEFDIR/$i $GSDIR/Defaults/$i
fi
else
copy $GLOBALDEFDIR/$i $GSDIR/Defaults/$i
fi
else
copy $GLOBALDEFDIR/$i $GSDIR/Defaults/$i
fi
done