diff options
author | fxbru | 2020-06-04 22:57:30 +0200 |
---|---|---|
committer | fxbru | 2020-06-04 22:57:30 +0200 |
commit | cff088be45c328983498edb2cb2f76afb09e144c (patch) | |
tree | 63fdff04590ad971a6571cde705173cb749627e8 | |
parent | 3d7a724950537365474059fc91ba791f2249ae84 (diff) | |
download | aur-cff088be45c328983498edb2cb2f76afb09e144c.tar.gz |
Fix missing /data folder before permission assignement
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | dependency-check-cli.install | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = dependency-check-cli pkgdesc = Dependency-Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies. pkgver = 5.3.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/jeremylong/DependencyCheck install = dependency-check-cli.install arch = any @@ -2,7 +2,7 @@ pkgname=dependency-check-cli _pkgname=dependency-check pkgver=5.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Dependency-Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies." arch=('any') depends=('java-runtime') diff --git a/dependency-check-cli.install b/dependency-check-cli.install index 847811504b28..0507027bd65e 100644 --- a/dependency-check-cli.install +++ b/dependency-check-cli.install @@ -1,5 +1,6 @@ post_install() { groupadd dependencycheck + mkdir /opt/dependency-check/data chown -R root:dependencycheck /opt/dependency-check/data chmod -R g+w /opt/dependency-check/data echo " Users should be added to the 'dependencycheck' group to be able to perform vulnerability database updates." @@ -7,6 +8,7 @@ post_install() { } post_upgrade() { + mkdir /opt/dependency-check/data chown -R root:dependencycheck /opt/dependency-check/data chmod -R g+w /opt/dependency-check/data } |