Update triggers to use passed args, use /bin/sh -e.
Bump xbps-base-files to 0.30. --HG-- extra : convert_revision : 6158c0bed798e097ba75c902a0be2498e3361e02
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/sh -e -e
|
||||
#
|
||||
# Runs update-initramfs(8) to create/update an initramfs for specified
|
||||
# version (if the pkg that is triggering it) or for the currently
|
||||
# installed kernel otherwise.
|
||||
#
|
||||
# Arguments: $1 = action [run/targets]
|
||||
# $2 = target [post-install/post-remove]
|
||||
# $3 = pkgname
|
||||
# $4 = version
|
||||
# Arguments: $ACTION = [run/targets]
|
||||
# $TARGET = [post-install/post-remove]
|
||||
# $PKGNAME
|
||||
# $VERSION
|
||||
# $UPDATE = [yes/no]
|
||||
#
|
||||
ACTION="$1"
|
||||
TARGET="$2"
|
||||
PKGNAME="$3"
|
||||
VERSION="$4"
|
||||
UPDATE="$5"
|
||||
|
||||
update_initramfs=usr/sbin/update-initramfs
|
||||
|
||||
|
Reference in New Issue
Block a user