mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Run a full diagnosis after each yunohost upgrade
This commit is contained in:
parent
978d9d5dfd
commit
decb372b7a
1 changed files with 6 additions and 3 deletions
9
debian/postinst
vendored
9
debian/postinst
vendored
|
@ -14,11 +14,14 @@ do_configure() {
|
||||||
echo "Regenerating configuration, this might take a while..."
|
echo "Regenerating configuration, this might take a while..."
|
||||||
yunohost tools regen-conf --output-as none
|
yunohost tools regen-conf --output-as none
|
||||||
|
|
||||||
echo "Launching migrations.."
|
echo "Launching migrations..."
|
||||||
yunohost tools migrations migrate --auto
|
yunohost tools migrations migrate --auto
|
||||||
|
|
||||||
|
echo "Re-diagnosing server health..."
|
||||||
|
yunohost diagnosis run --force
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change dpkg vendor
|
# Change dpkg vendor
|
||||||
# see https://wiki.debian.org/Derivatives/Guidelines#Vendor
|
# see https://wiki.debian.org/Derivatives/Guidelines#Vendor
|
||||||
readlink -f /etc/dpkg/origins/default | grep -q debian \
|
readlink -f /etc/dpkg/origins/default | grep -q debian \
|
||||||
&& rm -f /etc/dpkg/origins/default \
|
&& rm -f /etc/dpkg/origins/default \
|
||||||
|
|
Loading…
Add table
Reference in a new issue