mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
383f95505f
Today on the elinks-dev mailing list, the new maintainer of the Debian
elinks package asked the debian directory to be removed from released
tarballs, because it makes the Debian diff hard to read. Also, the
files there are out of date.
When the debian directory was discussed in April 2007, people didn't
want it to be removed, so I instead moved it to contrib/debian in
ELinks 0.12.GIT (599cf3d91e
).
And now I'm doing the same in 0.11.3.GIT.
20 lines
374 B
Bash
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#
|