Skip to content

Commit

Permalink
Run a full diagnosis after each yunohost upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Nov 22, 2019
1 parent 978d9d5 commit decb372
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ do_configure() {
echo "Regenerating configuration, this might take a while..."
yunohost tools regen-conf --output-as none

echo "Launching migrations.."
echo "Launching migrations..."
yunohost tools migrations migrate --auto

echo "Re-diagnosing server health..."
yunohost diagnosis run --force
fi
# Change dpkg vendor

# Change dpkg vendor
# see https://wiki.debian.org/Derivatives/Guidelines#Vendor
readlink -f /etc/dpkg/origins/default | grep -q debian \
&& rm -f /etc/dpkg/origins/default \
Expand Down

0 comments on commit decb372

Please sign in to comment.