Commit MetaInfo

Revisioned20435e765fe8bb3ae68dbe4592727aa9e0e410 (tree)
Zeit2020-01-20 20:00:07
AutorFrede Hundewadt <fh@uex....>
CommiterFrede Hundewadt

Log Message

editor variable

Ändern Zusammenfassung

Diff

--- a/pbif
+++ b/pbif
@@ -35,6 +35,9 @@ TRANS_SRC="/pbif-master" # Dir where translation files are stored
3535 # Other variables for installer #
3636 # #
3737
38+# Editor for modifying configs
39+TEXTEDITOR="xed"
40+
3841 # Create a temporary file to store menu selections
3942 ANSWER="/tmp/.abif"
4043
@@ -1941,7 +1944,7 @@ edit_configs() {
19411944 ;;
19421945 esac
19431946
1944- [[ $FILE != "" ]] && xed -i $FILE \
1947+ [[ $FILE != "" ]] && ${TEXTEDITOR} -i $FILE \
19451948 || dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title " $_ErrTitle " --msgbox "$_SeeConfErrBody" 0 0
19461949
19471950 edit_configs
Show on old repository browser