Răsfoiți Sursa

Remove old z-push apt repo info during upgrade

Kristan Kenney 7 ani în urmă
părinte
comite
ae1a380db6
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      install/upgrade/0.9.8-29.sh

+ 3 - 0
install/upgrade/0.9.8-29.sh

@@ -96,6 +96,9 @@ if [ ! -z "$MAIL_SYSTEM" ]; then
     mkdir -p /var/lib/dpkg/updates/
 
     apt="/etc/apt/sources.list.d"
+    # Remove old z-push apt data
+    rm -f $apt/z-push.list
+    
     if [ "$os" = 'ubuntu' ]; then
         echo "deb http://repo.z-hub.io/z-push:/final/Ubuntu_$release/ /" > $apt/z-push.list
         wget --quiet http://repo.z-hub.io/z-push:/final/Ubuntu_$release/Release.key -O /tmp/z-push_signing.key