Skip to content
Snippets Groups Projects
Commit 48545be8 authored by Allan McRae's avatar Allan McRae :speech_balloon:
Browse files

upgpkg: 2013.01-2

remove post_install script so filesystem cam be added as a glibc dep - all functionality moved elsewhere, remove deps in base only needed for post_update
parent a1ca9224
No related branches found
Tags 2015.09-1
No related merge requests found
......@@ -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')
......
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment