1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Andrew Tridgell 1c6f52cc28 fixed the installation scripts for the new layout
(This used to be commit 60cdb83f3f6dfd7755e46254662245a82a8ef498)
1998-08-10 01:55:42 +00:00

19 lines
270 B
Bash
Executable File

#!/bin/sh
BINDIR=$1
shift
for p in $*; do
p2=`basename $p`
if [ -f $BINDIR/$p2.old ]; then
echo Restoring $BINDIR/$p2.old
mv $BINDIR/$p2 $BINDIR/$p2.new
mv $BINDIR/$p2.old $BINDIR/$p2
rm -f $BINDIR/$p2.new
else
echo Not restoring $p
fi
done
exit 0