diff options
author | Jérôme Launay | 2023-09-22 14:10:45 +0200 |
---|---|---|
committer | Jérôme Launay | 2023-09-22 14:10:45 +0200 |
commit | cbe320836c911bb8b05145b65eaf0ea6379b3173 (patch) | |
tree | 76429497cde0bd857a4492400437ba6bfabcffe4 | |
parent | fc01d91d2b07eba7286486945e9564b388607b9d (diff) | |
download | aur-cbe320836c911bb8b05145b65eaf0ea6379b3173.tar.gz |
change post install and upgrade
-rwxr-xr-x | g910-gkeys-git.install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/g910-gkeys-git.install b/g910-gkeys-git.install index 4efa1498c2dc..b4b43db7133a 100755 --- a/g910-gkeys-git.install +++ b/g910-gkeys-git.install @@ -1,10 +1,11 @@ post_install() { echo "" echo "Since the service is now running as a user service you need to move your configuration to your user home:" + echo "mkdir -p "\$HOME"/.config/g910-gkeys/" echo "sudo cp /etc/g910-gkeys/config.json "\$HOME"/.config/g910-gkeys/config.json" echo "sudo chown "\$USER":users "\$HOME"/.config/g910-gkeys/config.json" echo "" - echo "Then you can enable and run the user service" + echo "Then you can enable and run the user service (reload if needed)" echo "systemctl --user enable --now g910-gkeys.service" echo "systemctl --user start g910-gkeys.service" echo "" @@ -14,10 +15,11 @@ post_install() { post_upgrade() { echo "" echo "Since the service is now running as a user service you need to move your configuration to your user home:" + echo "mkdir -p "\$HOME"/.config/g910-gkeys/" echo "sudo cp /etc/g910-gkeys/config.json "\$HOME"/.config/g910-gkeys/config.json" echo "sudo chown "\$USER":users "\$HOME"/.config/g910-gkeys/config.json" echo "" - echo "Then you can enable and run the user service" + echo "Then you can enable and run the user service (reload if needed)" echo "systemctl --user enable --now g910-gkeys.service" echo "systemctl --user start g910-gkeys.service" echo "" |