1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
elinks/contrib/debian/elinks.preinst
Kalle Olavi Niemitalo 599cf3d91e Move debian to contrib/debian.
Files in the debian directory aren't being kept up to date.
(For example, debian/control declares a dependency on libgnutls11-dev
even though ELinks now requires at least 1.2, and debian/changelog
does not mention the 0.11.* releases.)
Until the files are up to date again and there is a commitment to keep
them so, they belong in contrib.
2007-04-22 15:54:50 +03:00

20 lines
374 B
Bash

#!/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#