From 31c6d37f13ea8a13b330135d19b527f14a5b29b6 Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Fri, 21 Nov 2014 17:31:16 +0000 Subject: [PATCH] pentoo-updater: sync for users --- scripts/pentoo-updater.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/pentoo-updater.sh b/scripts/pentoo-updater.sh index 1e3164b4d..93f27894e 100755 --- a/scripts/pentoo-updater.sh +++ b/scripts/pentoo-updater.sh @@ -2,8 +2,10 @@ source /etc/profile env-update -if [ -n "${clst_target}" ]; then +if [ -n "${clst_target}" ]; then #we are in catalyst emerge --info > /var/log/portage/emerge-info/emerge-info-$(date "+%Y%m%d").txt +else #we are on a user system + emerge --sync fi safe_exit() {