diff options
| author | Nippy <nippy@rp1.hu> | 2026-06-22 11:15:06 +0200 |
|---|---|---|
| committer | Nippy <nippy@rp1.hu> | 2026-06-22 11:15:06 +0200 |
| commit | 69e54a72c47189eaa07e27c020ff23c9caf06379 (patch) | |
| tree | 9942912ec88ec4c471aa9a9644f4aea7ac02ba0b /raveos-cosmic-theme/raveos-cosmic-theme.install | |
| parent | 10839298610a8170eac3374617078a6025017b08 (diff) | |
| download | RaveOS-PKGBUILD-69e54a72c47189eaa07e27c020ff23c9caf06379.tar.gz RaveOS-PKGBUILD-69e54a72c47189eaa07e27c020ff23c9caf06379.zip | |
gnome cosmic plasma sddm update
Diffstat (limited to 'raveos-cosmic-theme/raveos-cosmic-theme.install')
| -rw-r--r-- | raveos-cosmic-theme/raveos-cosmic-theme.install | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/raveos-cosmic-theme/raveos-cosmic-theme.install b/raveos-cosmic-theme/raveos-cosmic-theme.install index 876a411..ceef58a 100644 --- a/raveos-cosmic-theme/raveos-cosmic-theme.install +++ b/raveos-cosmic-theme/raveos-cosmic-theme.install @@ -1,7 +1,24 @@ +_sddm_src="/usr/share/raveos/cosmic-theme/theme-data/sddm/sddm.conf" +_sddm_dst="/etc/sddm.conf.d/raveos-theme.conf" + +pre_install() { + rm -f "$_sddm_dst" +} + +pre_upgrade() { + rm -f "$_sddm_dst" +} + post_install() { - : + mkdir -p /etc/sddm.conf.d + install -Dm644 "$_sddm_src" "$_sddm_dst" } post_upgrade() { - : + mkdir -p /etc/sddm.conf.d + install -Dm644 "$_sddm_src" "$_sddm_dst" +} + +post_remove() { + rm -f "$_sddm_dst" } |