wineinstall: Remove bashisms, make sh compatible.
This commit is contained in:
parent
3df9158747
commit
7e4fc8cb35
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# WINE Installation script
|
# WINE Installation script
|
||||||
# Can do almost everything from compiling to configuring...
|
# Can do almost everything from compiling to configuring...
|
||||||
#
|
#
|
||||||
|
@ -22,13 +22,11 @@
|
||||||
#--- defaults (change these if you are a packager)
|
#--- defaults (change these if you are a packager)
|
||||||
CONFARGS="" # configure args, e.g. --prefix=/usr
|
CONFARGS="" # configure args, e.g. --prefix=/usr
|
||||||
|
|
||||||
# functions
|
std_sleep() {
|
||||||
|
|
||||||
function std_sleep {
|
|
||||||
sleep 1
|
sleep 1
|
||||||
}
|
}
|
||||||
|
|
||||||
function conf_yesno_answer {
|
conf_yesno_answer() {
|
||||||
unset ANSWER
|
unset ANSWER
|
||||||
while [ "$ANSWER" != 'yes' ] && [ "$ANSWER" != 'no' ]
|
while [ "$ANSWER" != 'yes' ] && [ "$ANSWER" != 'no' ]
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue