Skip to content

Commit 371db2f

Browse files
enable global ydotool
1 parent cb6aaf2 commit 371db2f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

pkgbuild/biglinux-browser-selector.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
## arg 1: the new package version
77
post_install() {
8+
systemctl -q --global enable ydotool
89
for user in $(awk -F':' '{ if ($3 >= 1000 && $1 != "nobody") print $1 }' /etc/passwd); do
910
if [ "$(systemctl is-active --user ydotool)" != "active" ];then
1011
sudo -u $user XDG_RUNTIME_DIR=/run/user/$(id -u $user) systemctl --user enable --now ydotool

pkgbuild/biglinux-browser-selector.install~

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55

66
## arg 1: the new package version
77
post_install() {
8+
systemctl -q --global enable
89
for user in $(awk -F':' '{ if ($3 >= 1000 && $1 != "nobody") print $1 }' /etc/passwd); do
910
if [ "$(systemctl is-active --user ydotool)" != "active" ];then
1011
sudo -u $user XDG_RUNTIME_DIR=/run/user/$(id -u $user) systemctl --user enable --now ydotool
1112
fi
13+
done
1214
}
1315

1416
## arg 2: the old package version

0 commit comments

Comments
 (0)