summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122017-03-02 15:05:22 +0100
committerwillemw122017-03-02 15:05:22 +0100
commita5e81d80438be7c92c912b0675f172327e531b46 (patch)
tree5529c64369cb59ab19e1bf8a2251aa9131475225
parentbf5066e248a7e6a46772fa25058a20d2f3c7856f (diff)
downloadaur-a5e81d80438be7c92c912b0675f172327e531b46.tar.gz
Make 'data' folder before migration
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--sickrage-git.install3
3 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a495b587a3..960447a2a4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sickrage-git
pkgdesc = A PVR application that downloads and manages your TV shows. Echel0n fork of sickbeard, with tvrage, torrents and anime support.
pkgver = 8.8.4.r41.g10d0371b3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/SiCKRAGETV/SickRage
install = sickrage-git.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 709bb8244c0..ca3adbd3938 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=sickrage
pkgname=$_pkgname-git
pkgver=8.8.4.r41.g10d0371b3
-pkgrel=1
+pkgrel=2
pkgdesc="A PVR application that downloads and manages your TV shows. Echel0n fork of sickbeard, with tvrage, torrents and anime support."
arch=('any')
url="https://github.com/SiCKRAGETV/SickRage"
diff --git a/sickrage-git.install b/sickrage-git.install
index 979f04f58b5..28a129e18b8 100644
--- a/sickrage-git.install
+++ b/sickrage-git.install
@@ -2,11 +2,12 @@ post_install() {
systemd-sysusers sickrage.conf
systemd-tmpfiles --create sickrage.conf
chown -R sickrage:sickrage /opt/sickrage
- echo "==> Configuration files have moved to /opt/sickrage/data. To migrate, run the following commands as root:"
+ echo "==> Configuration files have moved to /opt/sickrage/data. To migrate, run the following commands as root and then reinstall:"
echo " systemctl stop sickrage.service"
echo " pacman -Rn sickrage-git"
echo " cp -a /opt/sickrage{,.bak}"
echo ' rm -r $(ls -1d /opt/sickrage/* | grep -Ev "/backup.*|/cache.*|/config.ini.*|/Log.*|/.*\.db.*")'
+ echo " mkdir -p /opt/sickrage/data"
echo " mv /opt/sickrage/* /opt/sickrage/data/"
echo "==> Start and enable sickrage.service. Then visit http://localhost:8081/"
echo "==> If an upgrade fails with \"error: failed to commit transaction (conflicting files)\", then uninstall first."