summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/raveos-hyprland-theme.install
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-hyprland-theme/raveos-hyprland-theme.install')
-rw-r--r--raveos-hyprland-theme/raveos-hyprland-theme.install28
1 files changed, 0 insertions, 28 deletions
diff --git a/raveos-hyprland-theme/raveos-hyprland-theme.install b/raveos-hyprland-theme/raveos-hyprland-theme.install
deleted file mode 100644
index fc3d37c..0000000
--- a/raveos-hyprland-theme/raveos-hyprland-theme.install
+++ /dev/null
@@ -1,28 +0,0 @@
-_sddm_src="/usr/share/raveos/hyprland-theme/theme-data/sddm/sddm.conf"
-_sddm_dst="/etc/sddm.conf.d/raveos-theme.conf"
-
-pre_install() {
- # Ha a fájl már létezik de pacman nem ownolta (apply.sh telepítette),
- # töröljük - de ez csak pre_install esetén segít, pre_upgrade már késő
- # (a pacman ütközés-ellenőrzése ELŐBB fut mint ez a hook).
- # Ezért a konfig fájlt a post_* hook-ok telepítik, nem a package().
- 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"
-}