base-directories: another fix for the fix...
This commit is contained in:
parent
147080c7bb
commit
4f61ee73b5
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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>"
|
||||
|
|
Loading…
Reference in a new issue