diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2010-05-20 09:23:10 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2010-05-20 09:23:10 +0000 |
commit | ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc (patch) | |
tree | d3c0cf4054541e220fd1e9f93e7f27f35ac01e20 | |
parent | 4b1c25b6f4a316cb3b5f6509f0aa1a919bc6f802 (diff) | |
download | draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar.gz draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar.bz2 draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.tar.xz draklive-install-ae85dc2aa0bad0ef2ef0bb3c5ad2c5cc0dab00fc.zip |
run scripts from /etc/draklive-install.d/run.d after install
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | draklive-install | 4 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- run scripts from /etc/draklive-install.d/run.d after install if cleanups + are needed in the chrooted tree + 1.25 - really fix installation from a dir which is not / diff --git a/draklive-install b/draklive-install index c6870a1..ab4cfca 100755 --- a/draklive-install +++ b/draklive-install @@ -287,6 +287,10 @@ sub complete_install { system('chroot', $::prefix, 'rpm', '-e', 'draklive-install'); } + foreach (glob('/etc/draklive-install.d/run.d/*')) { + run_program::rooted($::prefix, $_); + } + #- copy sysconfig files for first boot cp_f(glob('/etc/draklive-install.d/sysconfig/*'), $::prefix . '/etc/sysconfig'); |