diff options
Diffstat (limited to 'sys-apps/openrc/openrc-9999.ebuild')
-rw-r--r-- | sys-apps/openrc/openrc-9999.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild index 9b466b0..b9e6ef9 100644 --- a/sys-apps/openrc/openrc-9999.ebuild +++ b/sys-apps/openrc/openrc-9999.ebuild @@ -128,8 +128,9 @@ pkg_preinst() { pkg_postinst() { # Remove old baselayout links - rm -rf "${ROOT}"etc/runlevels/boot/checkfs \ - "${ROOT}"etc/runlevels/boot/checkroot + rm -f "${ROOT}"etc/runlevels/boot/checkfs \ + "${ROOT}"etc/runlevels/boot/checkroot \ + "${ROOT}"etc/runlevels/boot/rmnologin # Make our runlevels if they don't exist or we're a development version. if [ ! -e "${ROOT}"etc/runlevels -o "${PV}" = "9999" ]; then |