debian/nwg-hello.postinst
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | if [ "$1" = "configure" ]; then |
| 6 | chown _greetd:_greetd /var/cache/nwg-hello/cache.json |
| 7 | ucf /usr/share/nwg-hello/sway-config /etc/nwg-hello/sway-config |
| 8 | ucf /usr/share/nwg-hello/hyprland.conf /etc/nwg-hello/hyprland.conf |
| 9 | ucfr nwg-hello /etc/nwg-hello/sway-config |
| 10 | ucfr nwg-hello /etc/nwg-hello/hyprland.conf |
| 11 | fi |
| 12 | |
| 13 | #DEBHELPER# |