]> git.saurik.com Git - apt.git/blobdiff - debian/postinst
Revert version to 0.5.4.9, as we'll do a test release first.
[apt.git] / debian / postinst
index e8ab6aee6885542e3da9e47b16a26fbc6ef55306..91755764704c84b66d68568c867ddcb9e6b895ce 100755 (executable)
@@ -14,7 +14,7 @@ create_apt_conf ()
 {
  echo "/etc/apt/sources.list does not exist; creating a default setup."
 
- cp /usr/doc/apt/examples/sources.list /etc/apt/sources.list
+ cp /usr/share/doc/apt/examples/sources.list /etc/apt/sources.list
 }
  
 check_apt_conf ()
@@ -23,6 +23,8 @@ check_apt_conf ()
  # this is for future expansion
 }
 
+#DEBHELPER#
+
 case "$1" in
        configure)
               ldconfig
@@ -38,8 +40,6 @@ case "$1" in
                 check_apt_conf
               fi
               if [ -f /usr/sbin/dhelp_parse ]; then
-                /usr/sbin/dhelp_parse -a /usr/doc/apt
+                /usr/sbin/dhelp_parse -a /usr/share/doc/apt
               fi
 esac
-
-#DEBHELPER#