diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-02-22 19:25:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-02-22 19:25:45 +0000 |
commit | 7a2ef05e0bb05830c70f193bb34ece790b1219fd (patch) | |
tree | faac6e78f327aaed565170e4cc666edb143cc509 /tools/draklive | |
parent | 2c236b139aae989f01b542c18ca575cb079a8cee (diff) | |
download | drakx-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar drakx-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar.gz drakx-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar.bz2 drakx-7a2ef05e0bb05830c70f193bb34ece790b1219fd.tar.xz drakx-7a2ef05e0bb05830c70f193bb34ece790b1219fd.zip |
make generating the previous HW config file somewhat more readable
Diffstat (limited to 'tools/draklive')
-rwxr-xr-x | tools/draklive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive index 248e0aeaf..35e25e6eb 100755 --- a/tools/draklive +++ b/tools/draklive @@ -471,7 +471,7 @@ sub post_install_system { #- if previous HW config file is empty, we assumes DrakX has just completed the installation #- (do it in chroot, or else Storable from the build box may write an incompatible config file) run_({ root => get_system_root($live) }, - "perl -MStorable -e \"Storable::store({ UNKNOWN => {} }, '/etc/sysconfig/harddrake2/previous_hw')\""); + 'perl', '-MStorable', '-e', qq(Storable::store({ UNKNOWN => {} }, '/etc/sysconfig/harddrake2/previous_hw'))); #- interactive mode can lead to race in initscripts #- (don't use addVarsInSh from MDK::Common, it breaks shell escapes) |