diff options
author | MatMoul <matmoul@gmail.com> | 2015-10-10 21:35:08 +0200 |
---|---|---|
committer | MatMoul <matmoul@gmail.com> | 2015-10-10 21:35:08 +0200 |
commit | a2ca37e5becba01a78151e66ad4325322f5a1152 (patch) | |
tree | 3c7d4637554f8374aec58160a00551e9b140a86b | |
parent | 1301b1e9f78162c16610bfeff6c115f40b6ead53 (diff) | |
download | hyperfi-a2ca37e5becba01a78151e66ad4325322f5a1152.tar.lz hyperfi-a2ca37e5becba01a78151e66ad4325322f5a1152.tar.xz hyperfi-a2ca37e5becba01a78151e66ad4325322f5a1152.zip |
Clean code
-rw-r--r-- | archfi | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -98,12 +98,9 @@ setkeymap(){ #for item in $items; do # options+=("$item" "") #done - #items=$(find /usr/share/kbd/keymaps/ -type f) items=$(find /usr/share/kbd/keymaps/ -type f -printf "%f\n" | sort -V) options=() for item in $items; do - #item=$(basename "$item") - #item=${item%%.*} options+=("${item%%.*}" "") done keymap=$(whiptail --backtitle "$apptitle" --title "$txtsetkeymap" --menu "" 0 0 0 \ @@ -826,12 +823,9 @@ archsetkeymap(){ #for item in $items; do # options+=("$item" "") #done - #items=$(find /usr/share/kbd/keymaps/ -type f) items=$(find /usr/share/kbd/keymaps/ -type f -printf "%f\n" | sort -V) options=() for item in $items; do - #item=$(basename "$item") - #item=${item%%.*} options+=("${item%%.*}" "") done keymap=$(whiptail --backtitle "$apptitle" --title "$txtsetkeymap" --menu "" 0 0 0 \ @@ -959,11 +953,6 @@ archinstallgrub(){ clear pacstrap /mnt grub - #if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/grub}" --yesno "$txtinstallosprober" --defaultno 0 0) then - # clear - # pacstrap /mnt os-prober - #fi - if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then clear @@ -1103,8 +1092,6 @@ archdidownload(){ } archdiinstallandlaunchchroot(){ cd - #curl -L archdi.sourceforge.net/archdi >archdi - #curl -L matmoul.github.io/archdi >archdi >archdi archdidownload sh archdi -i archdi --chroot @@ -1112,8 +1099,6 @@ archdiinstallandlaunchchroot(){ } archdilaunchchroot(){ cd - #curl -L archdi.sourceforge.net/archdi >archdi - #curl -L matmoul.github.io/archdi >archdi >archdi archdidownload sh archdi --chroot rm archdi @@ -1121,8 +1106,6 @@ archdilaunchchroot(){ } archdiinstallchroot(){ cd - #curl -L archdi.sourceforge.net/archdi >archdi - #curl -L matmoul.github.io/archdi >archdi >archdi archdidownload sh archdi -i exit |