-
-
Save CaptainBern/7e1f4715493a63d4ab60e9228782d9a9 to your computer and use it in GitHub Desktop.
tllocalmgr fixes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tllocalmgr b/tllocalmgr | |
index b947ed2..b8d75dc 100755 | |
--- a/tllocalmgr | |
+++ b/tllocalmgr | |
@@ -140,7 +140,7 @@ chomp(my @pacman = `pacman -Qs ^texlive- | egrep ^local | cut -d'/' -f2`); | |
my @localpacman = grep { /^texlive-local-/ } @pacman; | |
# To have the standard collections we get rid of | |
# texlive-local-<pkg> and texlive-localmanager: | |
-my @collpacman = grep { !/^texlive-local/ } @pacman; | |
+my @collpacman = grep { !/^(texlive-local|tllocalmgr)/ } @pacman; | |
if (@localpacman) { | |
foreach (@localpacman) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index d3a3773..1134b2a 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -24,9 +24,11 @@ depends=('texlive-core>=2011' | |
makedepends=('git') | |
source=("${_pkgname}::git://git.archlinux.org/users/remy/texlive-localmanager.git" | |
- 'tllocalmgr.patch') | |
+ 'tllocalmgr.patch' | |
+ 'fix_tllocalmgr.patch') | |
sha256sums=('SKIP' | |
- '22222ff329919ee6a16ffd489b0213b14f8169d9daf6ef1a82aa5ab37538c236') | |
+ '22222ff329919ee6a16ffd489b0213b14f8169d9daf6ef1a82aa5ab37538c236' | |
+ 'a7698d0076f4e1a7ef401899c174ed9a290674a7e89e9c818ba078e17548c6e7') | |
pkgver() { | |
cd $_pkgname | |
@@ -39,6 +41,7 @@ prepare() { | |
# enhances the tllocalmgr script a bit | |
# thanks: @sharethewisdom and @cobaltspace | |
patch -p1 < "$srcdir/tllocalmgr.patch" | |
+ patch -p1 < "$srcdir/fix_tllocalmgr.patch" | |
} | |
package() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment