Remove old hacks

This commit is contained in:
Joshua Boniface 2022-01-05 00:07:09 -05:00
parent 3249d8e9e6
commit d54871081a
2 changed files with 0 additions and 35 deletions

View File

@ -10,22 +10,6 @@ repodir="/srv/repository"
reponame="jellyfin"
repotype="server"
######
# HACK FOR STABLE RELEASES
######
do_dotnet2() {
sudo apt purge -y dotnet-sdk-3.1 || true
sudo apt autoremove -y || true
sudo apt install -y dotnet-sdk-2.2 || true
}
do_dotnet3() {
sudo apt purge -y dotnet-sdk-2.2 || true
sudo apt autoremove -y || true
sudo apt install -y dotnet-sdk-3.1 || true
}
do_dotnet3
echo "*** PREPARING REPOSITORY ***"
pushd ${builddir}
@ -145,5 +129,3 @@ rm -r ${builddir}/bin/jellyfin
popd
docker image rm -f $( docker images -aq ) || true
exit 0
do_dotnet3

View File

@ -24,23 +24,6 @@ echo "Proceeding with build..."
set -o xtrace
######
# HACK FOR STABLE RELEASES
######
do_dotnet2() {
sudo apt purge -y dotnet-sdk-3.1 || true
sudo apt autoremove -y || true
sudo apt install -y dotnet-sdk-2.2 || true
}
do_dotnet3() {
sudo apt purge -y dotnet-sdk-2.2 || true
sudo apt autoremove -y || true
sudo apt install -y dotnet-sdk-3.1 || true
}
# Just in case
do_dotnet3
echo "*** PREPARING REPOSITORY ***"
pushd ${builddir}