summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-05-15 16:03:00 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-05-15 23:17:08 +0200
commit6d311498775f9ff579cc18f801c227896acaa99c (patch)
treec8978e836fba9536b2e8fcdfe6b0f610f4615574
parent77983343b29251c0a4e6953326cd3e96eb05b268 (diff)
downloadmullvadvpn-6d311498775f9ff579cc18f801c227896acaa99c.tar.xz
mullvadvpn-6d311498775f9ff579cc18f801c227896acaa99c.zip
Add sleep on old app uninstall
-rwxr-xr-xdist-assets/pkg-scripts/preinstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist-assets/pkg-scripts/preinstall b/dist-assets/pkg-scripts/preinstall
index 08ada60d4d..2ef86d9ab9 100755
--- a/dist-assets/pkg-scripts/preinstall
+++ b/dist-assets/pkg-scripts/preinstall
@@ -15,6 +15,7 @@ if [ -d "$OLD_INSTALL_DIR" ]; then
echo "Found old Mullvad VPN install at $OLD_INSTALL_DIR. Stopping and uninstalling"
pkill MullvadVPN || true
pkill mullvad-daemon || true
+ sleep 0.5
rm -rf "$OLD_INSTALL_DIR"
fi