From e6f6c8611500e0e75d831d6ba3a397124d131bf4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Nov 2014 23:28:04 -0500 Subject: linux-image: Run prerm hooks --- (limited to 'linux-image.pkg/prerm') diff --git a/linux-image.pkg/prerm b/linux-image.pkg/prerm new file mode 100644 index 0000000..7bc5761 --- /dev/null +++ b/linux-image.pkg/prerm @@ -0,0 +1,12 @@ +#!/bin/sh + +first=true +for arg in "${@}"; do + if ${first}; then + set -- + first=false + fi + set -- "${@}" -a "${arg}" +done + +run-parts "${@}" /etc/kernel/prerm.d -- cgit v0.9.1