summarylogtreecommitdiffstats
path: root/sickrage-git.install
diff options
context:
space:
mode:
authorwillemw122018-08-11 09:59:33 +0200
committerwillemw122018-08-11 09:59:33 +0200
commit059c5cc7fc9bfd772b65f8cdeafe537491ab2ed5 (patch)
tree4bed403fe5ee4b9b2863dae8314b932e37640ff9 /sickrage-git.install
parent9c756ad1cfb506382c22249c7189ec642a4f69bf (diff)
downloadaur-059c5cc7fc9bfd772b65f8cdeafe537491ab2ed5.tar.gz
Change source protocol from git to https. Cleanup messages
Diffstat (limited to 'sickrage-git.install')
-rw-r--r--sickrage-git.install19
1 files changed, 1 insertions, 18 deletions
diff --git a/sickrage-git.install b/sickrage-git.install
index d1e1b2fb8290..107c9fcb3296 100644
--- a/sickrage-git.install
+++ b/sickrage-git.install
@@ -1,25 +1,8 @@
-# Colored makepkg-like functions
-note() {
- printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
-}
-all_off="$(tput sgr0)"
-bold="${all_off}$(tput bold)"
-blue="${bold}$(tput setaf 4)"
-yellow="${bold}$(tput setaf 3)"
-
post_install() {
systemd-sysusers sickrage.conf
systemd-tmpfiles --create sickrage.conf
chown -R sickrage:sickrage /opt/sickrage
- note "Configuration files have moved to /opt/sickrage/data."
- echo " 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/"
- note "If an upgrade fails with \"error: failed to commit transaction (conflicting files)\", then uninstall first."
+
echo "==> Start and enable sickrage.service. Then visit http://localhost:8081/"
}