diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-13 13:43:34 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-13 13:43:34 +0100 |
commit | 20c1784704c6ca82476a2fa1a8391a57b91eac81 (patch) | |
tree | b2cc4c03311dfc94a3b8626ae3e76ba9f0a80829 /src/core/libs/lib-software.sh | |
parent | 33dd56f6e3725133e7d537db4d25b5563d26f2e8 (diff) |
debugging info in run_background + better logfile location for pacman
Diffstat (limited to 'src/core/libs/lib-software.sh')
-rw-r--r-- | src/core/libs/lib-software.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/libs/lib-software.sh b/src/core/libs/lib-software.sh index 04f4498..f93f1a5 100644 --- a/src/core/libs/lib-software.sh +++ b/src/core/libs/lib-software.sh @@ -24,8 +24,8 @@ run_mkinitcpio() installpkg() { notify "Package installation will begin now. You can watch the output in the progress window. Please be patient." target_special_fs on - run_background pacman-installpkg "$PACMAN_TARGET -S $TARGET_PACKAGES" /tmp/pacman.log - follow_progress " Installing... Please Wait " /tmp/pacman.log + run_background pacman-installpkg "$PACMAN_TARGET -S $TARGET_PACKAGES" /home/arch/fifa/runtime/pacman.log + follow_progress " Installing... Please Wait " /home/arch/fifa/runtime/pacman.log wait_for pacman-installpkg @@ -33,13 +33,13 @@ installpkg() { local _result='' if [ ${pacman-installpkg_exitcode} -ne 0 ]; then _result="Installation Failed (see errors below)" - echo -e "\nPackage Installation FAILED." >>/tmp/pacman.log + echo -e "\nPackage Installation FAILED." >>/home/arch/fifa/runtime/pacman.log else _result="Installation Complete" - echo -e "\nPackage Installation Complete." >>/tmp/pacman.log + echo -e "\nPackage Installation Complete." >>/home/arch/fifa/runtime/pacman.log fi - show_warning "$_result" "/tmp/pacman.log" text || return 1 + show_warning "$_result" "/home/arch/fifa/runtime/pacman.log" text || return 1 target_special_fs off sync |