summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuhammad Al-Habib Ouadhour2018-08-13 20:46:12 +0100
committerMuhammad Al-Habib Ouadhour2018-08-13 20:46:12 +0100
commit8244dd1159c2400a4010cd858fb6f0137c077b76 (patch)
treed07930c71267d74765d421542596fa670def08bb
parent09dfd6998fa2d51f7e34e06fc6b62ff7334fcc9f (diff)
downloadaur-8244dd1159c2400a4010cd858fb6f0137c077b76.tar.gz
Fixing a security issue, rwx was given to a normal user after installation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9cd989066ff..522f170ff214 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = alun
pkgdesc = A CLI tool that notify the user when there is an update, excluding AUR
pkgver = 1.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/HOuadhour/alun
install = alun.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 0cd6fa4915ca..933e907ba90b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=alun
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="A CLI tool that notify the user when there is an update, excluding AUR"
arch=('any')
url="https://github.com/HOuadhour/alun"
@@ -22,6 +22,6 @@ sha256sums=(
validpgpkeys=('6481A7A3E66A3AA39D0DD7302A60AB408C14BF70')
package() {
- cd $pkgdir
- tar -xf $srcdir/$pkgname-$pkgver.tar.gz
+ cd $srcdir
+ cp -a --no-preserve=ownership usr etc $pkgdir
}