From acf44a9a605bf03a1725c75987b7bc4507676af1 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Tue, 28 Aug 2018 09:11:32 +0200 Subject: [PATCH] texlive, texlive-bin: remove old preinst cleaning --- packages/texlive-bin/build.sh | 8 -------- packages/texlive/build.sh | 6 ------ 2 files changed, 14 deletions(-) diff --git a/packages/texlive-bin/build.sh b/packages/texlive-bin/build.sh index f6341002f..a100a2969 100644 --- a/packages/texlive-bin/build.sh +++ b/packages/texlive-bin/build.sh @@ -144,11 +144,3 @@ termux_step_pre_configure() { cp "$TERMUX_PKG_BUILDER_DIR"/pdftoepdf-poppler0.75.0.cc "$TERMUX_PKG_SRCDIR"/texk/web2c/pdftexdir/pdftoepdf.cc # commit 4dbbcd8 cp "$TERMUX_PKG_BUILDER_DIR"/pdftosrc-poppler0.72.0.cc "$TERMUX_PKG_SRCDIR"/texk/web2c/pdftexdir/pdftosrc.cc # commit 68f53cf } - -termux_step_create_debscripts() { - # Clean texlive's folder if needed (run on fresh install) - echo "#!$TERMUX_PREFIX/bin/bash" > preinst - echo "if [ ! -d $PREFIX/opt/texlive ]; then echo 'Removing residual files from old version of TeX Live for Termux'; rm -rf $PREFIX/opt/texlive; fi" >> preinst - echo "exit 0" >> preinst - chmod 0755 preinst -} diff --git a/packages/texlive/build.sh b/packages/texlive/build.sh index 22f3bfe9c..727af535d 100644 --- a/packages/texlive/build.sh +++ b/packages/texlive/build.sh @@ -37,12 +37,6 @@ termux_step_make() { } termux_step_create_debscripts() { - # Clean texlive's folder if needed (run on upgrade) - echo "#!$TERMUX_PREFIX/bin/bash" > preinst - echo "if [ -d $TERMUX_PREFIX/opt/texlive ]; then echo 'Removing residual files from old version of TeX Live for Termux'; rm -rf $PREFIX/opt/texlive; fi" >> preinst - echo "exit 0" >> preinst - chmod 0755 preinst - echo "#!$TERMUX_PREFIX/bin/bash" > postinst echo "mktexlsr $TL_ROOT/texmf-var" >> postinst echo "texlinks" >> postinst