Specify group permissions for comfortable-swipe-buffer
This commit is contained in:
parent
244549bc0e
commit
7c3e2342f9
3
install
3
install
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user