From 0cff78b6f7a248f24500b1c5a59eda05c6ca58ce Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Sat, 10 Jun 2006 09:20:46 +0000 Subject: [PATCH] Stefan Fiedler: sysfiles/sbin_postinstall.sh: fix thinko so all_touched outputs installed files as well [2006053117294925151] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7636 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/sysfiles/sbin_postinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base/sysfiles/sbin_postinstall.sh b/package/base/sysfiles/sbin_postinstall.sh index 2aa004d9c..dcd36501b 100644 --- a/package/base/sysfiles/sbin_postinstall.sh +++ b/package/base/sysfiles/sbin_postinstall.sh @@ -51,7 +51,7 @@ all_removed() { all_touched() { while read dummy M; do - [ -e "/$M" ] || echo "/$M" + echo "/$M" done < <( find /var/adm/postinstall/ \ \( -name "*-install.??????" -o -name "*-remove.??????" \) \ -exec grep "$1" "{}" \; 2> /dev/null ) | sort -u