summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122018-08-01 11:41:04 +0200
committerwillemw122018-08-01 11:41:04 +0200
commit4e32f5de41065f6745bd89b8c85c113d2f83cbee (patch)
treec861b6d6a6eeaa0bff16a35248d7595f119509b0
parent34e0d9085a9f33a09321d646bd104f1cecf31a4c (diff)
downloadaur-4e32f5de41065f6745bd89b8c85c113d2f83cbee.tar.gz
Cleanup messages
-rw-r--r--sickrage-pip.install18
1 files changed, 0 insertions, 18 deletions
diff --git a/sickrage-pip.install b/sickrage-pip.install
index 84dbfcb02bee..131f1ab7ddfa 100644
--- a/sickrage-pip.install
+++ b/sickrage-pip.install
@@ -1,12 +1,3 @@
-# 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)"
-
patch_pip_path() {
find /opt/sickrage/app/lib/python*/site-packages/sickrage -name "*.py" -exec \
sed -i "s|\('pip_path'.*\)'pip'|\1'/opt/sickrage/app/bin/pip2'|" '{}' \;
@@ -25,15 +16,6 @@ post_install() {
patch_pip_path
echo
- 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-pip"
- 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/"
}