correct update-alternatives

This commit is contained in:
Penelope Gwen 2024-06-27 03:46:37 -06:00
parent 59479a5207
commit 499b3b5f13
3 changed files with 9 additions and 1 deletions

8
debian/changelog vendored
View file

@ -1,4 +1,10 @@
pogmom-sway-base (0.1.3) UNRELEASED; urgency=medium
pogmom-sway-base (0.1.4) unstable; urgency=medium
* correctly link /etc/greetd/environments
-- Penelope Gwen <support@pogmom.me> Thu, 27 Jun 2024 03:44:54 -0600
pogmom-sway-base (0.1.3) unstable; urgency=medium
* fixed file path for sway-run

1
debian/postinst vendored
View file

@ -2,3 +2,4 @@
mkdir -p /etc/greetd
update-alternatives --install /etc/greetd/config.toml greetd /usr/share/greetd/pogmom/config.toml 30 --force
update-alternatives --install /etc/greetd/environments greetd_envs /usr/share/greetd/pogmom/environments 30 --force

1
debian/postrm vendored
View file

@ -1,3 +1,4 @@
#!/bin/bash
update-alternatives --remove greetd /usr/share/greetd/pogmom/config.toml
update-alternatives --remove greetd_envs /usr/share/greetd/pogmom/environments