1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/contrib/debian/elinks.preinst

20 lines
374 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
#
# elinks preinst file
#
# check whether we have the config in the old place and not in the new place
#
if [ -f /etc/elinks.conf -a ! -f /etc/elinks/elinks.conf ]; then
# move the file into the new location
#
mkdir -p /etc/elinks/
mv /etc/elinks.conf /etc/elinks/elinks.conf
echo "Your /etc/elinks.conf moved into /etc/elinks/."
fi
#DEBCONF#
#DEBHELPER#