summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfxbru2020-05-05 11:22:17 +0200
committerfxbru2020-05-05 11:22:17 +0200
commit26de1a05917fdc328a6baa6541447b564f13c001 (patch)
treeb0715a2dcfb939e52ed24c2031e68ce50954a9f3
parentb131d19fe0dcaffed2ba4b8eb97cc7254373b523 (diff)
downloadaur-26de1a05917fdc328a6baa6541447b564f13c001.tar.gz
v1.2.6 install file update
-rw-r--r--application-inspector-bin.install16
1 files changed, 6 insertions, 10 deletions
diff --git a/application-inspector-bin.install b/application-inspector-bin.install
index 9e83995534d..2c3e66f7809 100644
--- a/application-inspector-bin.install
+++ b/application-inspector-bin.install
@@ -1,23 +1,19 @@
post_install() {
groupadd applicationinspector
- touch /opt/application-inspector/output.{html,json}
+ touch /opt/application-inspector/output.{json,html}
touch /opt/application-inspector/log.txt
- chown -R root:applicationinspector /opt/application-inspector/output.{html,json}
- chown -R root:applicationinspector /opt/application-inspector/log.txt
- chmod -R g+w /opt/application-inspector/output.{html,json}
- chmod -R g+w /opt/application-inspector/log.txt
+ chown -R root:applicationinspector /opt/application-inspector
+ chmod -R g+w /opt/application-inspector
echo " Users should be added to the 'applicationinspector' group to be able to generate HTML reports."
echo " $ sudo gpasswd -a <username> applicationinspector"
echo " Also set the BROWSER environment variable to your desired browser."
}
post_upgrade() {
- touch /opt/application-inspector/output.{html,json}
+ touch /opt/application-inspector/output.{json,html}
touch /opt/application-inspector/log.txt
- chown -R root:applicationinspector /opt/application-inspector/output.{html,json}
- chown -R root:applicationinspector /opt/application-inspector/log.txt
- chmod -R g+w /opt/application-inspector/output.{html,json}
- chmod -R g+w /opt/application-inspector/log.txt
+ chown -R root:applicationinspector /opt/application-inspector
+ chmod -R g+w /opt/application-inspector
}
post_remove() {