Skip to content

Commit ae1a380

Browse files
author
Kristan Kenney
committed
Remove old z-push apt repo info during upgrade
1 parent d0bae95 commit ae1a380

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/upgrade/0.9.8-29.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ if [ ! -z "$MAIL_SYSTEM" ]; then
9696
mkdir -p /var/lib/dpkg/updates/
9797

9898
apt="/etc/apt/sources.list.d"
99+
# Remove old z-push apt data
100+
rm -f $apt/z-push.list
101+
99102
if [ "$os" = 'ubuntu' ]; then
100103
echo "deb http://repo.z-hub.io/z-push:/final/Ubuntu_$release/ /" > $apt/z-push.list
101104
wget --quiet http://repo.z-hub.io/z-push:/final/Ubuntu_$release/Release.key -O /tmp/z-push_signing.key

0 commit comments

Comments
 (0)