summaryrefslogtreecommitdiffhomepage
path: root/install-webserver.sh
blob: 9afab7bbd1001559d72ab05c93c5f9ba28b73932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
#
# Script to be run on webserver to install *.deb and *.tgz
#

set -e

if [ "$#" != "1" ] ; then
	echo "Usage: install-webserver.sh <Version>"
fi

VERSION=$1
DISTROS="debian10 debian11 ubuntu2004 ubuntu2204"

cd /var/www/reichwein.it-debian

for i in $DISTROS; do
  echo "Installing webserver for $i ..."
  reprepro -C $i --ignore=wrongdistribution include stable /home/rr/result/$i/webserver_${VERSION}_amd64.changes
done