base-directories: another fix for the fix...

This commit is contained in:
Juan RP 2011-05-20 16:49:58 +02:00
parent 147080c7bb
commit 4f61ee73b5
2 changed files with 3 additions and 2 deletions

View file

@ -15,11 +15,12 @@ post)
if [ "$(readlink -f $dir)" != "$dest" ]; then
echo "WARNING: removing wrong symlink in /$dir..."
rm -f "$dir"
ln -sf "$dest" "$dir"
fi
elif [ -d "$dir" ]; then
echo "WARNING: removing directory /$dir..."
rm -rf "$dir"
fi
if [ ! -e "$dir" ]; then
ln -sf "$dest" "$dir"
fi
shift; shift;

View file

@ -1,6 +1,6 @@
# Template file for 'base-directories'
pkgname=base-directories
version=0.10
version=0.11
build_style=custom-install
short_desc="XBPS FHS Base System directories"
maintainer="Juan RP <xtraeme@gmail.com>"