01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
20 lines
455 B
Diff
20 lines
455 B
Diff
--- a/utils/gammu-config
|
|
+++ b/utils/gammu-config
|
|
@@ -59,16 +59,7 @@
|
|
shift
|
|
done
|
|
|
|
-if type dialog > /dev/null 2>&1 ; then
|
|
- DIALOG=dialog
|
|
-elif type cdialog > /dev/null 2>&1 ; then
|
|
- DIALOG=cdialog
|
|
-elif type whiptail > /dev/null 2>&1 ; then
|
|
- DIALOG=whiptail
|
|
-else
|
|
- echo "You need dialog, cdialog or whiptail installed to make this work"
|
|
- exit 1
|
|
-fi
|
|
+DIALOG=@dialog@
|
|
|
|
if [ -f "$CONFIG" ] ; then
|
|
if [ ! -w "$CONFIG" ] ; then
|