From 2ae2f59b875311b78e25dc06e774a516f8410fac3d32e0cacbd60d84e247df84 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Tue, 25 Jan 2011 08:50:17 +0000 Subject: [PATCH] only make mtab a symlink if it didn't exist before OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=196 --- aaa_base.post | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aaa_base.post b/aaa_base.post index 36eae5f..94ce4e8 100644 --- a/aaa_base.post +++ b/aaa_base.post @@ -141,8 +141,7 @@ fi # # create mtab if it does not exist # -if test ! -L /etc/mtab; then - rm -f /etc/mtab +if test ! -e /etc/mtab; then ln -sf /proc/self/mounts /etc/mtab fi #