diff options
author | Bailey Kasin | 2020-01-09 03:02:25 -0800 |
---|---|---|
committer | Bailey Kasin | 2020-01-09 03:02:25 -0800 |
commit | cda18ee298f63d133c7f2714954acb010c702cbe (patch) | |
tree | 9f6d4eb85395e2550eb8953471f0a86cfa33835a | |
parent | 2354029df1e87c4c20b612c95de97c6eee6916f7 (diff) | |
download | aur-cda18ee298f63d133c7f2714954acb010c702cbe.tar.gz |
Fix gogios.install
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | gogios.install | 26 |
3 files changed, 15 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = gogios pkgdesc = Checks to see if required services are still running on important machines. - pkgver = 1.3.r2.g9951692 + pkgver = 2.1.r0.gb6d1ffe pkgrel = 1 url = https://github.com/bkasin/gogios install = gogios.install @@ -1,7 +1,7 @@ # Maintainer: Bailey Kasin <bailey@gingertechnology.net> (https://angrysysadmins.tech) pkgname=gogios -pkgver=1.3.r2.g9951692 +pkgver=2.1.r0.gb6d1ffe pkgrel=1 pkgdesc="Checks to see if required services are still running on important machines." arch=('x86_64') @@ -33,4 +33,3 @@ package() { cd "$srcdir/$pkgname" make DESTDIR="$pkgdir" package } - diff --git a/gogios.install b/gogios.install index 3dc82d2b6ca8..000903746d2c 100644 --- a/gogios.install +++ b/gogios.install @@ -1,21 +1,21 @@ post_install() { - if [ ! -f /etc/gingertechengine/checks.json ]; then + if [ ! -f /etc/gogios/checks.json ]; then echo "Making default check file" - cp /etc/gingertechengine/example.json /etc/gingertechengine/checks.json + cp /etc/gogios/example.json /etc/gogios/checks.json fi - if [ ! -f /etc/gingertechengine/gogios.toml ]; then + if [ ! -f /etc/gogios/gogios.toml ]; then echo "Making default config" - cp /etc/gingertechengine/gogios.sample.toml /etc/gingertechengine/gogios.toml + cp /etc/gogios/gogios.sample.toml /etc/gogios/gogios.toml fi - if [ ! -f /opt/gingertechengine/js/current.json ]; then + if [ ! -f /opt/gogios/js/current.json ]; then echo "Making current results file" - cp /etc/gingertechengine/checks.json /opt/gingertechengine/js/current.json + cp /etc/gogios/checks.json /opt/gogios/js/current.json fi - if [ ! -f /var/log/gingertechnology ]; then - mkdir /var/log/gingertechnology + if [ ! -f /var/log/gogios ]; then + mkdir /var/log/gogios fi if id "gogios" >/dev/null 2>&1; then @@ -26,11 +26,11 @@ post_install() { chown gogios:gogios /var/spool/gogios fi - chown gogios:gogios -R /var/log/gingertechnology - chmod 0764 -R /var/log/gingertechnology - chown gogios:gogios -R /usr/lib/gingertechengine - chown gogios:gogios -R /etc/gingertechengine - chown gogios:gogios -R /opt/gingertechengine + chown gogios:gogios -R /var/log/gogios + chmod 0764 -R /var/log/gogios + chown gogios:gogios -R /usr/lib/gogios + chown gogios:gogios -R /etc/gogios + chown gogios:gogios -R /opt/gogios } post_upgrade() { |