From 73969a4a407add5e94051e6b680ce4090cfbef4c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 8 Sep 2005 13:13:08 +0000 Subject: [PATCH] Clifford Wolf: Moved creation of /var/adm/postinstall to 00-dirtree [2005082410583424462] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6346 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/00-dirtree/data.txt | 1 + package/base/postinstall/postinstall.conf | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/base/00-dirtree/data.txt b/package/base/00-dirtree/data.txt index dc8d64d5e..e36b89af1 100644 --- a/package/base/00-dirtree/data.txt +++ b/package/base/00-dirtree/data.txt @@ -96,6 +96,7 @@ m var/adm/dependencies m var/adm/flists m var/adm/md5sums m var/adm/packages +m var/adm/postinstall m var/cache m var/empty m var/games diff --git a/package/base/postinstall/postinstall.conf b/package/base/postinstall/postinstall.conf index 5a2eaa771..02dd978ca 100644 --- a/package/base/postinstall/postinstall.conf +++ b/package/base/postinstall/postinstall.conf @@ -1,11 +1,10 @@ postinstall_main () { - mkdir -p /var/adm/postinstall mkdir -p /etc/postinstall mkdir -p /etc/postinstall/postremove - cp -a /$confdir/postinstall /usr/sbin/ + cp -a $confdir/postinstall /usr/sbin/ chmod +x /usr/sbin/postinstall - cp -a /$confdir/postinstall-example.sh /etc/postinstall + cp -a $confdir/postinstall-example.sh /etc/postinstall } mainfunction=postinstall_main