Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / gammu / gammu-config-dialog.patch
blobf9f76bfec00ba7148f3b3093139540ffe084a6c6
1 --- a/utils/gammu-config
2 +++ b/utils/gammu-config
3 @@ -59,16 +59,7 @@
4 shift
5 done
7 -if type dialog > /dev/null 2>&1 ; then
8 - DIALOG=dialog
9 -elif type cdialog > /dev/null 2>&1 ; then
10 - DIALOG=cdialog
11 -elif type whiptail > /dev/null 2>&1 ; then
12 - DIALOG=whiptail
13 -else
14 - echo "You need dialog, cdialog or whiptail installed to make this work"
15 - exit 1
16 -fi
17 +DIALOG=@dialog@
19 if [ -f "$CONFIG" ] ; then
20 if [ ! -w "$CONFIG" ] ; then