From 96dfa86ea93265f4116db7dc9f3d8b52cc9f8fbd Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Fri, 19 Oct 2012 02:41:08 +0000 Subject: [PATCH] Added missing pkgrm-cross --- pkgrm-cross | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 pkgrm-cross diff --git a/pkgrm-cross b/pkgrm-cross new file mode 100755 index 0000000..6d21f85 --- /dev/null +++ b/pkgrm-cross @@ -0,0 +1,18 @@ +#!/bin/sh + +TOPDIR="$(cd $(dirname $(which $0)); pwd)" + +PKGRM=$TOPDIR/pkgadd + +PKGMK_CONF=$TOPDIR/src/pkgmk.conf +. $PKGMK_CONF + +if [ -z "$CLFS" ]; then + echo "Error, '\$CLFS' value not found" + echo "Please configure '$PKGMK_CONF' before use $(basename $0)" + exit 1 +fi + +$PKGRM -r $CLFS $@ + +# End of file -- 2.26.2