From 8b9149a022c30243f73ec9194f7851a9585a46e7 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Wed, 20 Aug 2003 07:14:24 +0000 Subject: [PATCH] guard desktop pkg_ modification for the case not original .conf is present git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1133 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- target/desktop/pkg_sysfiles.conf | 2 +- target/desktop/pkg_sysklogd.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/desktop/pkg_sysfiles.conf b/target/desktop/pkg_sysfiles.conf index b1594a7f9..4a1dacbdf 100644 --- a/target/desktop/pkg_sysfiles.conf +++ b/target/desktop/pkg_sysfiles.conf @@ -1,6 +1,6 @@ # special adaptions for the desktop target -. $confdir/$pkg.conf +[ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf hook_add postinstall 9 "patch -u $root/etc/profile $targetdir/etc_profile.patch" diff --git a/target/desktop/pkg_sysklogd.conf b/target/desktop/pkg_sysklogd.conf index 40d24ab56..9eeda2b36 100644 --- a/target/desktop/pkg_sysklogd.conf +++ b/target/desktop/pkg_sysklogd.conf @@ -1,6 +1,6 @@ # special adaptions for the desktop target -. $confdir/$pkg.conf +[ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf postinstall="cat <<- EOT >> $root/etc/syslog.conf