forked from pool/aaa_base
- fix postinstall to test for existence of /var/run/utmp
before trying to chgrp OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=167
This commit is contained in:
parent
e90c2ac3c4
commit
a97cf29e5b
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 17 12:53:36 CET 2010 - ro@suse.de
|
||||||
|
|
||||||
|
- fix postinstall to test for existence of /var/run/utmp
|
||||||
|
before trying to chgrp
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 16 09:51:52 UTC 2010 - aj@suse.de
|
Tue Nov 16 09:51:52 UTC 2010 - aj@suse.de
|
||||||
|
|
||||||
|
@ -169,7 +169,10 @@ if test ! -e /var/log/wtmp ; then
|
|||||||
fi
|
fi
|
||||||
# The group ownership of the following files has changed for openSUSE 11.4
|
# The group ownership of the following files has changed for openSUSE 11.4
|
||||||
# update it:
|
# update it:
|
||||||
chgrp utmp /var/log/wtmp /var/log/lastlog /var/run/utmp
|
chgrp utmp /var/log/wtmp /var/log/lastlog
|
||||||
|
if test -e /var/run/utmp ; then
|
||||||
|
chgrp utmp /var/run/utmp
|
||||||
|
fi
|
||||||
|
|
||||||
if test -e /usr/sbin/usrdel.local -a ! -e /usr/sbin/userdel.local ; then
|
if test -e /usr/sbin/usrdel.local -a ! -e /usr/sbin/userdel.local ; then
|
||||||
cp /usr/sbin/usrdel.local /usr/sbin/userdel.local
|
cp /usr/sbin/usrdel.local /usr/sbin/userdel.local
|
||||||
|
Loading…
Reference in New Issue
Block a user