Browse Source

* debian/postinst:

- check for exmaple sources.list before coping it (Bug#361130)
debian/1.8.y
Michael Vogt 16 years ago
parent
commit
e86080159e
  1. 5
      debian/postinst

5
debian/postinst

@ -12,7 +12,10 @@ set -e
create_apt_conf ()
{
cp /usr/share/doc/apt/examples/sources.list /etc/apt/sources.list
EXAMPLE_SOURCE=/usr/share/doc/apt/examples/sources.list
if [ -f $EXAMPLE_SOURCE ]; then
cp $EXAMPLE_SOURCE /etc/apt/sources.list
fi
}
check_apt_conf ()

Loading…
Cancel
Save