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 /PKGBUILD | |
parent | 09dfd6998fa2d51f7e34e06fc6b62ff7334fcc9f (diff) | |
download | aur-alun.tar.gz |
Fixing a security issue, rwx was given to a normal user after installation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |