Last active 2 weeks ago

MrGeneration's Avatar MrGeneration revised this gist 2 weeks ago. Go to revision

1 file changed, 1 insertion, 1 deletion

debian-repository-change.sh

@@ -13,7 +13,7 @@ OSV=$(grep '^VERSION_ID' /etc/os-release| cut -d'=' -f2 | tr -d '\"')
13 13
14 14 # Download the new repository file
15 15 # stable
16 - curl -fsSL "https://go.packager.io/srv/zammad/zammad/develop/installer/debian/${OSV}.list" \
16 + curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/debian/${OSV}.list" \
17 17 -o /etc/apt/sources.list.d/zammad.list
18 18
19 19 # develop (Do not use in production)

MrGeneration's Avatar MrGeneration revised this gist 2 weeks ago. Go to revision

1 file changed, 1 insertion, 1 deletion

debian-repository-change.sh

@@ -13,7 +13,7 @@ OSV=$(grep '^VERSION_ID' /etc/os-release| cut -d'=' -f2 | tr -d '\"')
13 13
14 14 # Download the new repository file
15 15 # stable
16 - curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/debian/${OSV}.list" \
16 + curl -fsSL "https://go.packager.io/srv/zammad/zammad/develop/installer/debian/${OSV}.list" \
17 17 -o /etc/apt/sources.list.d/zammad.list
18 18
19 19 # develop (Do not use in production)

MrGeneration's Avatar MrGeneration revised this gist 2 weeks ago. Go to revision

1 file changed, 1 insertion, 1 deletion

debian-repository-change.sh

@@ -17,7 +17,7 @@ curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/debian/${O
17 17 -o /etc/apt/sources.list.d/zammad.list
18 18
19 19 # develop (Do not use in production)
20 - curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/debian/${OSV}.list" \
20 + curl -fsSL "https://go.packager.io/srv/zammad/zammad/develop/installer/debian/${OSV}.list" \
21 21 -o /etc/apt/sources.list.d/zammad.list
22 22
23 23 # Refresh Sources and Upgrade packages

MrGeneration's Avatar MrGeneration revised this gist 2 weeks ago. Go to revision

1 file changed, 28 insertions

debian-repository-change.sh(file created)

@@ -0,0 +1,28 @@
1 + # This quickly changes from the old packager.io to the new packager.io repository
2 + # Commands require sudo / root permissions
3 +
4 + # Drop existing GPG-Key and Repository-File
5 + rm -f /etc/apt/trusted.gpg.d/pkgr-zammad.gpg /etc/apt/sources.list.d/zammad.list
6 +
7 + # Download the new Keyring
8 + curl -fsSL "https://go.packager.io/srv/deb/zammad/zammad/gpg-key.gpg" \
9 + -o /usr/share/keyrings/zammad.gpg
10 +
11 + # Get VERSION_ID of OS
12 + OSV=$(grep '^VERSION_ID' /etc/os-release| cut -d'=' -f2 | tr -d '\"')
13 +
14 + # Download the new repository file
15 + # stable
16 + curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/debian/${OSV}.list" \
17 + -o /etc/apt/sources.list.d/zammad.list
18 +
19 + # develop (Do not use in production)
20 + curl -fsSL "https://go.packager.io/srv/zammad/zammad/stable/installer/debian/${OSV}.list" \
21 + -o /etc/apt/sources.list.d/zammad.list
22 +
23 + # Refresh Sources and Upgrade packages
24 + apt update
25 + apt upgrade
26 +
27 + # Alternatively only for Zammad:
28 + apt install zammad
Newer Older