summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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/"
}