Patch looks good. However, if APTALT may be undefined, it should be quoted (-z "$APTALT") in the snippet below: PPAOWNER=$1 -if [ ! -z APTALT ]; then +if [ ! -z $APTALT ]; then APT=aptitude; APTALT=apt-get
Patch looks good. However, if APTALT may be undefined, it should be quoted (-z "$APTALT") in the snippet below:
PPAOWNER=$1
-if [ ! -z APTALT ]; then
+if [ ! -z $APTALT ]; then
APT=aptitude; APTALT=apt-get