summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--helper/fileutil.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/helper/fileutil.inc b/helper/fileutil.inc
index 3f39ad63..76293bfb 100644
--- a/helper/fileutil.inc
+++ b/helper/fileutil.inc
@@ -39,13 +39,11 @@ list_packet_files() {
local OPTIONAL="$(echo "$PACKAGE" | cut -c 1)"
[ "x$OPTIONAL" = "x@" ] && PACKAGE="$(echo "$PACKAGE" | cut -c 2-)"
local FILES=""
- pdebug "Listingh packiet $PACKAGE"
if [ "$PACKET_MANAGER" = "apt" ]; then
FILES="$(dpkg -L "$PACKAGE" | grep -v -E 'share/(man|doc)|/var/run|/var/log'; echo ":###:${PIPESTATUS[0]}")"
elif [ "$PACKET_MANAGER" = "zypper" ]; then
FILES="$(rpm -ql "$PACKAGE" | grep -v -E 'share/(doc|man)|/var/run|/var/log' | grep -v share/man; echo ":###:${PIPESTATUS[0]}")"
fi
- pdebug "Habe $(echo $FILES | wc -l) files!1"
# ugly hack to get our return value
#local LPRET=$(echo "$FILES" | tail -1 | sed 's/^.*:###:\([0-9]*\)$/\1/g')
#FILES=$(echo "$FILES" | sed 's/^\(.*\):###:[0-9]*$/\1/g')