summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilippo Squillace2016-06-09 23:08:10 +0100
committerFilippo Squillace2016-06-09 23:08:10 +0100
commit8cb2c4c21ebe6253722375a4d7a4f7ea41b575bd (patch)
tree9ea68a41f1ad281e996b4ca8d565045cfa133b0b
parentc3ace72e54019879f5df4a6071fc16c4ddde9e5d (diff)
downloadaur-8cb2c4c21ebe6253722375a4d7a4f7ea41b575bd.tar.gz
Fix yogurt command
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa5e11358b91..766a6e222127 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = junest-git
pkgdesc = The Arch Linux based distro that runs upon any Linux distros without root access
- pkgver = 5.6.8
+ pkgver = 5.6.9
pkgrel = 2
url = http://fsquillace.github.io/junest-site/
install = junest.install
diff --git a/PKGBUILD b/PKGBUILD
index 35a7c1a7b798..15618b1d3aa8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ MAIN_REPO=https://dl.dropboxusercontent.com/u/42449030
QEMU_LINK=$MAIN_REPO/qemu/$NORM_ARCH
pkgname=junest-git
-pkgver=5.6.8
+pkgver=5.6.9
pkgrel=2
pkgdesc="The Arch Linux based distro that runs upon any Linux distros without root access"
arch=('any')
@@ -126,6 +126,7 @@ package() {
install -d -m 755 "${pkgdir}/opt/yaourt/bin/"
install -m 755 /usr/bin/yaourt ${pkgdir}/opt/yaourt/bin/
sed -i -e 's/"--asroot"//' ${pkgdir}/opt/yaourt/bin/yaourt
+ sed -i -e 's@#!/bin/bash@#!/bin/bash\nPATH=/opt/yaourt/bin:$PATH@' ${pkgdir}/opt/yaourt/bin/yaourt
install -m 755 /usr/bin/makepkg ${pkgdir}/opt/yaourt/bin/
sed -i -e 's/EUID\s==\s0/false/' ${pkgdir}/opt/yaourt/bin/makepkg
ln -s ../../opt/yaourt/bin/yaourt ${pkgdir}/usr/bin/yogurt