sup rev 41

Fix wrong path for installed package (Tanks Paul for proofreading :-)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 01 00:06:21 2017 +0100 (2017-03-01)
parents 642f0fa9f0ff
children 5fd828b6743f
files libsup.sh
line diff
     1.1 --- a/libsup.sh	Tue Feb 28 22:35:20 2017 +0000
     1.2 +++ b/libsup.sh	Wed Mar 01 00:06:21 2017 +0100
     1.3 @@ -118,7 +118,7 @@
     1.4  	done
     1.5  	
     1.6  	# Remove existing package files to avoid untracked files
     1.7 -	if [ -d "$wok/$PACKAGE" ]; then
     1.8 +	if [ -d "$installed/$PACKAGE" ]; then
     1.9  		gettext "Removing existing package files..."
    1.10  		remove_sup "$PACKAGE" >/dev/null; status
    1.11  	fi