Commit a665fede authored by Rémy Oudompheng's avatar Rémy Oudompheng
Browse files

Install libraries to /usr/share instead of /var/lib

parent 146b1abf
......@@ -19,11 +19,11 @@ md5sums=('SKIP')
package() {
cd $srcdir/$pkgname-$pkgver
install -d $pkgdir/usr/bin
install -d $pkgdir/var/lib/texmf/arch/tlpkg/TeXLive
install -d $pkgdir/usr/share/texmf/arch/tlpkg/TeXLive
install -m755 tllocalmgr $pkgdir/usr/bin/
cd tlpkg/TeXLive
for f in *; do
install -m644 $f $pkgdir/var/lib/texmf/arch/tlpkg/TeXLive/
install -m644 $f $pkgdir/usr/share/texmf/arch/tlpkg/TeXLive/
done
}
......
......@@ -8,7 +8,7 @@ require LWP::UserAgent;
use Term::ANSIColor qw(:constants);
use Term::ShellUI;
use Getopt::Long;
use lib ('tlpkg', "/var/lib/texmf/arch/tlpkg");
use lib ('tlpkg', "/usr/share/texmf/arch/tlpkg");
use TeXLive::Arch;
die "You can't run this program as root\n" if $ENV{'USER'} eq "root";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment