aboutsummaryrefslogtreecommitdiffstats
path: root/texlive-bin/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
committerMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
commit0f1df0db903ba576fd17b08197d3066af7a61e5f (patch)
treea59c04307b1382257afa3c3512ec3abadf7e0e47 /texlive-bin/Makefile
parentUse losetup -d instead of --detach and add clean up (diff)
downloaddotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.gz
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.bz2
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.xz
A lot of changes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--texlive-bin/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/texlive-bin/Makefile b/texlive-bin/Makefile
index bd4f7e9..18bac65 100644
--- a/texlive-bin/Makefile
+++ b/texlive-bin/Makefile
@@ -1,5 +1,4 @@
.POSIX:
-include ../common.mk
install:
if test -L ~/.texlive; then \
@@ -9,7 +8,7 @@ install:
if test -d ~/.texlive; then \
test ! -d ~/.var/cache/texlive && \
mkdir -p -- ~/.var/cache && \
- mv ~/.texlive ~/.var/cache/texlive; \
+ mv -- ~/.texlive ~/.var/cache/texlive; \
else \
mkdir -p -- ~/.var/cache/texlive; \
fi; \
@@ -17,7 +16,7 @@ install:
fi
uninstall:
+ +! ../check-installed texlive-bin
+ +! ../check-installed texlive-base
-rm -rf -- ~/.var/cache/texlive
-rm -rf -- ~/.texlive
-
-.PHONY: install uninstall