From 6a68249f84ff72e7f38bc0b7edae55c861fdfb3c Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini Date: Wed, 9 Oct 2019 14:51:23 -0300 Subject: Rename of the hook and script --- libalpm/scripts/mkinitcpio.script | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 libalpm/scripts/mkinitcpio.script (limited to 'libalpm/scripts') 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[@]}" -- cgit v1.2.3-24-g4f1b