remove unused hooks
This commit is contained in:
parent
cb5050ddfd
commit
efdaaa6775
6 changed files with 0 additions and 70 deletions
|
@ -1,13 +0,0 @@
|
|||
[Trigger]
|
||||
Operation = Remove
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = linux
|
||||
Target = linux-hardened
|
||||
Target = linux-mainline
|
||||
|
||||
[Action]
|
||||
Depends = coreutils
|
||||
Depends = bash
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/bash -c '[[ -d /usr/lib/modules/$(uname -r) ]] || ln -s /tmp/$(uname -r) /usr/lib/modules/$(uname -r)'
|
|
@ -1,13 +0,0 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Operation = Remove
|
||||
Type = Package
|
||||
Target = linux
|
||||
Target = linux-hardened
|
||||
Target = linux-mainline
|
||||
|
||||
[Action]
|
||||
Depends = coreutils
|
||||
Depends = bash
|
||||
When = PreTransaction
|
||||
Exec = /usr/bin/bash -c 'find /usr/lib/modules -maxdepth 1 -type l -delete; cp -a /usr/lib/modules/$(uname -r) /tmp 2>/dev/null || :'
|
|
@ -1,9 +0,0 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = sddm
|
||||
|
||||
[Action]
|
||||
Description = Updating sddm display-manager config after updating
|
||||
When = PostTransaction
|
||||
Exec = /bin/bash -c "cp /tmp/sddm.conf /etc/sddm.conf && cp /tmp/sddm.conf /usr/lib/sddm/sddm.conf.d/default.conf && cp /opt/deadc0de-os-code/display-manager.service /etc/systemd/system/display-manager.service"
|
|
@ -1,9 +0,0 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = sddm
|
||||
|
||||
[Action]
|
||||
Description = Save sddm display-manager config befor updating
|
||||
When = PreTransaction
|
||||
Exec = /bin/bash -c "cp /usr/lib/sddm/sddm.conf.d/default.conf /tmp/sddm.conf"
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
[Trigger]
|
||||
Operation=Install
|
||||
Operation=Upgrade
|
||||
Operation=Remove
|
||||
Type=Package
|
||||
Target=nvidia
|
||||
Target=linux
|
||||
# Change the linux part above and in the Exec line if a different kernel is used
|
||||
|
||||
[Action]
|
||||
Description=Update Nvidia module in initcpio
|
||||
Depends=mkinitcpio
|
||||
When=PostTransaction
|
||||
NeedsTargets
|
||||
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'
|
|
@ -1,10 +0,0 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = pacman
|
||||
Target = pacman-mirrorlist
|
||||
|
||||
[Action]
|
||||
Description = Updating pacman-mirrorlist and the pacman config after updating
|
||||
When = PostTransaction
|
||||
Exec = /bin/bash -c "cp /opt/SpectreOS/%VERSION% /etc/pacman.conf"
|
Loading…
Reference in a new issue