diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/postinst.in | 6 |
3 files changed, 11 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 011a069..9ebbf48 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +base-files (6.5+7) unstable; urgency=medium + + * Let chown fail in more places + * Removed Pre-depends on base-passwd (does not work on bootstrap) + + -- Igor Pashev <pashev.igor@gmail.com> Wed, 31 Dec 2014 10:31:05 +0000 + base-files (6.5+6) unstable; urgency=medium * Let chown fail in install_from_default (inavlid user root:root) diff --git a/debian/control b/debian/control index dc7701d..3cba756 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.9.1 Package: base-files Provides: base Architecture: any -Pre-Depends: awk, base-passwd +Pre-Depends: awk Essential: yes Priority: required Replaces: base, miscutils, dpkg (<= 1.15.0) diff --git a/debian/postinst.in b/debian/postinst.in index 67ea151..80bdbcf 100644 --- a/debian/postinst.in +++ b/debian/postinst.in @@ -73,18 +73,18 @@ fi if [ ! -d /var/lib/dpkg ]; then mkdir -m 755 -p /var/lib/dpkg - chown root:root /var/lib/dpkg + chown root:root /var/lib/dpkg || true fi if [ ! -f /var/lib/dpkg/status ]; then echo > /var/lib/dpkg/status chmod 644 /var/lib/dpkg/status - chown root:root /var/lib/dpkg/status + chown root:root /var/lib/dpkg/status || true fi if [ ! -f /usr/info/dir ] && [ ! -f /usr/share/info/dir ]; then install_from_default /usr/share/base-files/info.dir /usr/share/info/dir chmod 644 /usr/share/info/dir - chown root:root /usr/share/info/dir + chown root:root /usr/share/info/dir || true fi if [ "$1" = "configure" ] && [ "$2" != "" ]; then |