diff options
Diffstat (limited to 'dependency-check-cli.install')
-rw-r--r-- | dependency-check-cli.install | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |