diff --git a/PKGBUILD b/PKGBUILD index 2e53e948df1a4e20c773edf8721ea6d3881a9623..75735d8a4d99bd95240b195cf3101e4386785868 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=filesystem pkgver=2013.01 -pkgrel=1 +pkgrel=2 pkgdesc='Base filesystem' arch=('i686' 'x86_64') license=('GPL') @@ -10,7 +10,7 @@ url='http://www.archlinux.org' groups=('base') install='filesystem.install' makedepends=('asciidoc') -depends=('iana-etc' 'bash' 'coreutils' 'nss-myhostname') +depends=('iana-etc') backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc/passwd' 'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' 'etc/nsswitch.conf' 'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue') diff --git a/filesystem.install b/filesystem.install index 12e59b01ba2d12a9ac75439ef34df44bc5ade1df..77ed35394e5a44ab18f647e738588f634e0a8717 100644 --- a/filesystem.install +++ b/filesystem.install @@ -1,13 +1,3 @@ -post_install() { - [ -f var/log/lastlog ] || : >var/log/lastlog - [ -f var/log/wtmp ] || : >var/log/wtmp - [ -f var/log/btmp ] || { : >var/log/btmp && chmod 600 var/log/btmp; } - # workaround for bug #7194 - # readded due to bug #9465 - # please do not remove! - chmod 1777 var/spool/mail tmp var/tmp -} - # args: <group> [options] _addgroup() { if ! getent group "$1" >/dev/null; then