OSDN Git Service

small fix
authorFrede Hundewadt <fh@uex.dk>
Mon, 20 Jan 2020 11:02:25 +0000 (12:02 +0100)
committerFrede Hundewadt <fh@uex.dk>
Mon, 20 Jan 2020 11:02:25 +0000 (12:02 +0100)
airootfs/pbif-master/README.md
airootfs/pbif-master/pbif

index 5bec50a..a5d1706 100644 (file)
@@ -17,5 +17,5 @@ A generic *offline* installer for Arch-based ISOs. Feel free to use it for your
 + Boot menus assume Grub, Syslinux, and systemd-boot are installed
 + Default partitioning tools are gparted, cfdisk, and parted
 + wipe must be installed for the "secure wipe" option
-+ geany is used to edit files
++ xed is used to edit files
 + You will need to add your own post-configuration code for DMs, and specific files
index 32d7cd2..699133e 100755 (executable)
@@ -35,6 +35,9 @@ TRANS_SRC="/pbif-master"                                                      # Dir where translation files are stored
 # Other variables for installer        #
 #                                                              #
 
+# Editor for modifying configs
+TEXTEDITOR="xed"
+
 # Create a temporary file to store menu selections
 ANSWER="/tmp/.abif"
 
@@ -1941,7 +1944,7 @@ edit_configs() {
             ;;
      esac
      
-       [[ $FILE != "" ]] && xed -i $FILE \
+       [[ $FILE != "" ]] && ${TEXTEDITOR} -i $FILE \
        || dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title " $_ErrTitle " --msgbox "$_SeeConfErrBody" 0 0
        
        edit_configs