Split dependency installation scripts into distro specific scripts. This is more reliable than the script trying to figure out which distro is running on its own.
This commit is contained in:
29
wine/install-dependencies-debian.sh
Normal file
29
wine/install-dependencies-debian.sh
Normal file
@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Immediately exit if errors are encountered.
|
||||
set -e
|
||||
|
||||
# Wine dependencies installer for Debian/Ubuntu
|
||||
# If this fails on your system, please contact storm_dragon@stormux.org
|
||||
|
||||
configure_debian() {
|
||||
packageList=(
|
||||
curl
|
||||
dialog
|
||||
gawk
|
||||
gstreamer1.0-plugins-bad:i386
|
||||
gstreamer1.0-plugins-good:i386
|
||||
gstreamer1.0-plugins-ugly:i386
|
||||
mono-complete
|
||||
ncurses5-dev
|
||||
w3m
|
||||
winehq-stable
|
||||
)
|
||||
# make sure 32 bit libraries are available
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt install --install-recommends "${packageList[@]}"
|
||||
}
|
||||
|
||||
configure_debian
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user