From: Jose V Beneyto Date: Fri, 19 Oct 2012 02:41:08 +0000 (+0000) Subject: Added missing pkgrm-cross X-Git-Url: http://gitweb/?a=commitdiff_plain;h=231200a1ec573caf38237be6981a45e7162ed9fd;p=pkgutils-cross.git Added missing 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