sweeper/CONTROL/postinst
2014-06-13 19:09:47 +00:00

14 lines
166 B
Bash
Executable File

#!/bin/sh
f=/mod/etc/sweeper.conf
if [ ! -f $f ]; then
if [ -f $f~ ]; then
cp $f~ $f
elif [ -f "$f-opkg.backup" ]; then
cp "$f-opkg.backup" $f
fi
fi
exit 0