Specify group permissions for comfortable-swipe-buffer

This commit is contained in:
Rico Tiongson committed 2020-05-12 09:22:14 +08:00
1 parent 244549bc0e
commit 7c3e2342f9
1 file changed
+2 -1
+2 -1
View File
@@ -101,7 +101,8 @@ function install_main_program {
if [[ -f "$TARGET" ]]; then
trysudo rm "$TARGET"
fi
trysudo sed -E "s/^VERSION=.*/VERSION=$VERSION/" "$SOURCE" > "$TARGET"
trysudo cp "$SOURCE" "$TARGET"
trysudo sed -E "s/^VERSION=.*/VERSION=$VERSION/" -i "$TARGET"
# allow execute permissions with group
trysudo chmod +x "$TARGET"
# make sure non-root user is owner