aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss7
1 files changed, 5 insertions, 2 deletions
diff --git a/kiss b/kiss
index 3a3539f..7c01bf4 100755
--- a/kiss
+++ b/kiss
@@ -1090,8 +1090,11 @@ pkg_updates() {
log "Dropping permissions to $user for pull"
case $su in
- su) as_root "$pull" ;;
- *) as_root sh -c "$pull" ;;
+ su) as_root "$pull" ;;
+
+ *) as_root git fetch
+ as_root git diff > "$mak_dir/log"
+ as_root git merge
esac
)
fi