Skip to content

Commit

Permalink
v6.27
Browse files Browse the repository at this point in the history
+ DietPi-Patch | Reinstall Jackett to fix internal updater issue: #2593
  • Loading branch information
MichaIng authored Nov 5, 2019
1 parent 9a543c7 commit c58e87c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -1721,14 +1721,14 @@ NBB: Reinstall manually installed PHP modules via: G_AGI $PHP_NAME-<mod_name>"

fi
# SABnzbd: https://github.com/MichaIng/DietPi/pull/2768
# Jackett: https://github.com/MichaIng/DietPi/pull/2773
# v6.27 Jackett: https://github.com/MichaIng/DietPi/pull/2773
if [[ -d '/opt/jackett/.config' ]]; then

cp -a /opt/jackett/.config/. /opt/jackett/
rm -R /opt/jackett/.config

fi
/DietPi/dietpi/dietpi-software reinstall 34 35 42 139 147 $upgrade_php
/DietPi/dietpi/dietpi-software reinstall 34 35 42 139 $upgrade_php
#-----------------------------------------------------------------------
# Remove old PHP version
if [[ $upgrade_php ]]; then
Expand Down Expand Up @@ -2208,6 +2208,7 @@ Would you like to switch back to the Nginx authentication method now?' && certbo
# Reinstalls
# Syncthing: https://github.com/MichaIng/DietPi/pull/3202
# Grafana: https://github.com/MichaIng/DietPi/issues/3213
# Jackett: https://github.com/MichaIng/DietPi/issues/2593
if (( $G_DIETPI_INSTALL_STAGE == 2 )); then

if [[ -d '/etc/syncthing' ]] && grep -q '^aSOFTWARE_INSTALL_STATE\[50\]=2' /DietPi/dietpi/.installed; then
Expand Down Expand Up @@ -2236,7 +2237,7 @@ Would you like to switch back to the Nginx authentication method now?' && certbo
[[ -f '/etc/apt/sources.list.d/grafana.list' ]] && grep -q 'bintray.com' /etc/apt/sources.list.d/grafana.list && rm /etc/apt/sources.list.d/grafana.list

fi
/DietPi/dietpi/dietpi-software reinstall 50 77
/DietPi/dietpi/dietpi-software reinstall 50 77 147

fi
#-------------------------------------------------------------------------------
Expand Down

0 comments on commit c58e87c

Please sign in to comment.