diff options
Diffstat (limited to 'libalpm')
-rw-r--r-- | libalpm/hooks/90-mkinitcpio.hook | 17 | ||||
-rw-r--r-- | libalpm/scripts/mkinitcpio.script | 14 |
2 files changed, 0 insertions, 31 deletions
diff --git a/libalpm/hooks/90-mkinitcpio.hook b/libalpm/hooks/90-mkinitcpio.hook deleted file mode 100644 index 7599eae..0000000 --- a/libalpm/hooks/90-mkinitcpio.hook +++ /dev/null @@ -1,17 +0,0 @@ -[Trigger] -Type = Package -Operation = Install -Operation = Upgrade -Target = mkinitcpio* - -[Trigger] -Type = File -Operation = Install -Operation = Upgrade -Target = usr/lib/modules/*/pkgbase - -[Action] -Description = Updating linux initcpios... -When = PostTransaction -Exec = /usr/share/libalpm/scripts/mkinitcpio.script -NeedsTargets diff --git a/libalpm/scripts/mkinitcpio.script b/libalpm/scripts/mkinitcpio.script deleted file mode 100644 index 70c9784..0000000 --- a/libalpm/scripts/mkinitcpio.script +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -args=('-p') - -while read -r line; do - if [[ $line = usr/lib/modules/+([^/])/pkgbase ]]; then - mapfile -O ${#targets[@]} -t targets < "/$line" - else - args=('-P') # all presets - break - fi -done - -mkinitcpio "${args[@]}" "${targets[@]}" |