diff options
author | Donald Webster | 2020-05-06 14:08:16 -0700 |
---|---|---|
committer | Donald Webster | 2020-05-06 14:09:17 -0700 |
commit | 1b2e734d4ad4972a70782c10b4ae296d07e2fb78 (patch) | |
tree | aa11d383cf24e32df3af937e21bf80259468f918 | |
parent | 5573551151470261350fdf2303c3306dd6dd4924 (diff) | |
download | aur-1b2e734d4ad4972a70782c10b4ae296d07e2fb78.tar.gz |
Remove install file, migration was ages ago and not needed anymore.
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | jackett.install | 25 |
3 files changed, 0 insertions, 27 deletions
@@ -3,7 +3,6 @@ pkgbase = jackett pkgver = 0.16.304 pkgrel = 1 url = https://github.com/Jackett/Jackett - install = jackett.install arch = x86_64 arch = aarch64 arch = armv7h @@ -9,7 +9,6 @@ license=('GPL') url='https://github.com/Jackett/Jackett' depends=('curl' 'openssl-1.0') options=('!strip' 'staticlibs') -install='jackett.install' source=("jackett.service" "jackett.sysusers" diff --git a/jackett.install b/jackett.install deleted file mode 100644 index 7864f54f41f8..000000000000 --- a/jackett.install +++ /dev/null @@ -1,25 +0,0 @@ -post_upgrade() { - if (( $(vercmp "0.8.749-2" "$2") > 0 )); then - if [[ -d /usr/share/Jackett/.config/Jackett && ! -f /var/lib/jackett/ServerConfig.json ]]; then - cp -a /usr/share/Jackett/.config/Jackett/* /var/lib/jackett/ - echo "Copied config and db from /usr/share/Jackett/.config/Jackett/ -> /var/lib/jackett/" - fi - - if [[ -d /usr/share/Jackett/.config/.mono && ! -d /var/lib/jackett/.mono ]]; then - cp -a /usr/share/Jackett/.config/.mono /var/lib/jackett/ - echo "Copied mono configs from /usr/share/Jackett/.config/.mono -> /var/lib/jackett/" - fi - fi - - if [[ "$( getent passwd jackett | cut -d: -f6 )" != "/var/lib/jackett" ]]; then - usermod -d /var/lib/jackett jackett - if [[ $? -ne 0 ]]; then - echo "Could not change jackett users home directory." - echo "Run: sudo systemctl stop jackett ; sudo usermod -d /var/lib/jackett jackett ; sudo systemctl start jackett" - fi - fi - - if [[ -d /usr/share/Jackett/ ]]; then - echo "Remove /usr/share/Jackett if everything is working correctly from /var/lib/jackett now." - fi -} |