diff options
author | Muhammad Al-Habib Ouadhour | 2018-08-13 20:46:12 +0100 |
---|---|---|
committer | Muhammad Al-Habib Ouadhour | 2018-08-13 20:46:12 +0100 |
commit | 8244dd1159c2400a4010cd858fb6f0137c077b76 (patch) | |
tree | d07930c71267d74765d421542596fa670def08bb | |
parent | 09dfd6998fa2d51f7e34e06fc6b62ff7334fcc9f (diff) | |
download | aur-8244dd1159c2400a4010cd858fb6f0137c077b76.tar.gz |
Fixing a security issue, rwx was given to a normal user after installation
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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 } |