diff options
Diffstat (limited to 'raveos-plasma-theme/raveos-plasma-theme.install')
| -rw-r--r-- | raveos-plasma-theme/raveos-plasma-theme.install | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/raveos-plasma-theme/raveos-plasma-theme.install b/raveos-plasma-theme/raveos-plasma-theme.install index 9cf2f8d..a61ed75 100644 --- a/raveos-plasma-theme/raveos-plasma-theme.install +++ b/raveos-plasma-theme/raveos-plasma-theme.install @@ -1,30 +1,11 @@ -_sddm_src="/usr/share/raveos/plasma-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" if [[ -x /usr/lib/raveos-plasma-theme/auto-apply.sh ]]; then /usr/lib/raveos-plasma-theme/auto-apply.sh || true fi } post_upgrade() { - mkdir -p /etc/sddm.conf.d - install -Dm644 "$_sddm_src" "$_sddm_dst" if [[ -x /usr/lib/raveos-plasma-theme/auto-apply.sh ]]; then /usr/lib/raveos-plasma-theme/auto-apply.sh || true fi } - -post_remove() { - rm -f "$_sddm_dst" -} |