]> git.saurik.com Git - apt.git/blobdiff - debian/postinst
Sorry but it fail on tests so it will not be uploaded
[apt.git] / debian / postinst
index 89179211137e16c7be20f5b6bb75deeee52334ba..1588f524123203701470750f6dac2e7678c67db4 100755 (executable)
@@ -12,7 +12,10 @@ set -e
 
 create_apt_conf ()
 {
 
 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 ()
 }
  
 check_apt_conf ()