Specify group permissions for comfortable-swipe-buffer

This commit is contained in:
Rico Tiongson 2020-05-12 09:22:14 +08:00
parent 244549bc0e
commit 7c3e2342f9

View File

@ -101,7 +101,8 @@ function install_main_program {
if [[ -f "$TARGET" ]]; then if [[ -f "$TARGET" ]]; then
trysudo rm "$TARGET" trysudo rm "$TARGET"
fi 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 # allow execute permissions with group
trysudo chmod +x "$TARGET" trysudo chmod +x "$TARGET"
# make sure non-root user is owner # make sure non-root user is owner