summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-05-02 09:45:20 +0000
committerOlivier Blin <oblin@mandriva.com>2007-05-02 09:45:20 +0000
commita5d904b1c034238d725cb4759cb61fbd89f74330 (patch)
tree04f0f222bfa8e2298dcc16a3e186ed171190455a
parent36fc8a336a93306cf7e5440eb094181647e314b0 (diff)
downloaddraklive-a5d904b1c034238d725cb4759cb61fbd89f74330.tar
draklive-a5d904b1c034238d725cb4759cb61fbd89f74330.tar.gz
draklive-a5d904b1c034238d725cb4759cb61fbd89f74330.tar.bz2
draklive-a5d904b1c034238d725cb4759cb61fbd89f74330.tar.xz
draklive-a5d904b1c034238d725cb4759cb61fbd89f74330.zip
move umask restoration at end of post-install
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 4fa167d..7df2251 100755
--- a/draklive
+++ b/draklive
@@ -730,10 +730,10 @@ sub post_install_system {
run_({ setarch => $live->{settings}{arch} },
"chroot", get_system_root($live), "bash", "-c", $live->{system}{postInstall}) if $live->{system}{postInstall};
- umask $previous_umask;
-
mkdir_p(get_builddir($live));
run_("chroot ". get_system_root($live) . " rpm -qa | sort > " . get_builddir($live) . "/packages.lst");
+
+ umask $previous_umask;
}
sub umount_external_filesystem {