blob: 18bac6526f9f4c55e1b3b81a267fb758d267c2f8 (
plain) (
tree)
|
|
.POSIX:
install:
if test -L ~/.texlive; then \
test "$$(readlink -- ~/.texlive)" = .var/cache/texlive; \
else \
set -e; \
if test -d ~/.texlive; then \
test ! -d ~/.var/cache/texlive && \
mkdir -p -- ~/.var/cache && \
mv -- ~/.texlive ~/.var/cache/texlive; \
else \
mkdir -p -- ~/.var/cache/texlive; \
fi; \
ln -sf -- .var/cache/texlive ~/.texlive; \
fi
uninstall:
+! ../check-installed texlive-bin
+! ../check-installed texlive-base
-rm -rf -- ~/.var/cache/texlive
-rm -rf -- ~/.texlive
|