mirror of
https://github.com/jellyfin/jellyfin-build.git
synced 2025-02-17 04:39:25 +00:00
Remove old hacks
This commit is contained in:
parent
3249d8e9e6
commit
d54871081a
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user