feat: ✨ add pacman hooks and install script
This commit is contained in:
parent
16ec7f0955
commit
5885881075
|
@ -0,0 +1,6 @@
|
|||
#!/bin/fish
|
||||
cp ./pacman/snap-pac-uki-create.fish /usr/local/bin
|
||||
echo "installed creation script."
|
||||
|
||||
cp ./pacman/hooks/* /usr/share/libalpm/hooks/
|
||||
echo "installed pacman hooks."
|
|
@ -0,0 +1,12 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Operation = Install
|
||||
Operation = Remove
|
||||
Type = Package
|
||||
Target = *
|
||||
|
||||
[Action]
|
||||
Description = Performing pre UKI creation...
|
||||
When = PreTransaction
|
||||
Exec = /usr/local/bin/snap-pac-uki-create.fish
|
||||
AbortOnFail
|
|
@ -0,0 +1,11 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Operation = Install
|
||||
Operation = Remove
|
||||
Type = Package
|
||||
Target = *
|
||||
|
||||
[Action]
|
||||
Description = Performing post UKI creation...
|
||||
When = PostTransaction
|
||||
Exec = /usr/local/bin/snap-pac-uki-create.fish
|
Loading…
Reference in New Issue