cache clean fix (no $DESTDIR)

This commit is contained in:
Mattias Andrée 2012-08-20 16:51:00 +02:00
parent 4ee415dab1
commit aa952d266a

2
configure vendored
View file

@ -213,7 +213,7 @@ function makeMakefile()
echo 'install "'"$file"'" "$(INSTALLDIR)/share/licenses/ponysay/'"$file"'"'
done
echo
echo -en '\t' ; echo 'if [ -d "$(DESTDIR)/var/cache/ponysay" ]; then rm -r "$(DESTDIR)/var/cache/ponysay"; fi'
echo -en '\t' ; echo 'if [ -d "/var/cache/ponysay" ]; then rm -r "/var/cache/ponysay"; fi'
echo -en '\t' ; echo 'mkdir -p $(DESTDIR)/var/cache/ponysay/'
echo -en '\t' ; echo 'chmod 777 $(DESTDIR)/var/cache/ponysay/'
echo