Compare commits

..

No commits in common. "master" and "devel" have entirely different histories.

19 changed files with 32 additions and 29 deletions

View File

@ -1,11 +1,10 @@
# hyperfi CONTRIBUTING # archfi CONTRIBUTING
## Contributing
## Contributing :
* Open an issue before work to hard * Open an issue before work to hard
* **Work on the src branch** * **Work on the src branch**
* **Use tab for indentation** * **Use tab for identation**
* **Preserve indentation on empty lines** * **Preserve identation on empty line**
* **Test your changes** * **Test your changes**
- [ ] I've read these rules before submitting my PR. - [ ] I've read these rules before submitting my PR.

View File

@ -17,7 +17,7 @@ You can also read the [Network configuration](https://conocimientoslibres.tuxfam
Then download the script with from the command line: Then download the script with from the command line:
```console ```console
$ curl -L https://0x0.st/NlXF -o hyperfi $ wget https://0x0.st/NlXF -O hyperfi
``` ```
Finally, launch the script: Finally, launch the script:
@ -40,13 +40,13 @@ You can find a sample custom package list file in the samples folder.
## For developers ## For developers
You can test your script with this command: You can test your script with this command :
```console ```console
$ sh hyperfi -t {username} {branchname} $ sh hyperfi -t {username} {branchname}
``` ```
Example: Example :
```console ```console
$ sh hyperfi -t matmoul master $ sh hyperfi -t matmoul master

14
hyperfi
View File

@ -622,12 +622,12 @@ formatdevice(){
;; ;;
f2fs) f2fs)
fspkgs=("${fspkgs[@]} f2fs-tools") fspkgs=("${fspkgs[@]} f2fs-tools")
echo "mkfs.f2fs -f $2" echo "mkfs.f2fs $2"
mkfs.f2fs -f "${2}" mkfs.f2fs "${2}"
;; ;;
jfs) jfs)
fspkgs=("${fspkgs[@]} jfsutils") fspkgs=("${fspkgs[@]} jfsutils")
echo "mkfs.jfs -f ${2}" echo "mkfs.xfs -f ${2}"
mkfs.jfs -f "${2}" mkfs.jfs -f "${2}"
;; ;;
reiserfs) reiserfs)
@ -1056,6 +1056,11 @@ archsethostname(){
} }
archsetkeymap(){ archsetkeymap(){
#items=$(localectl list-keymaps)
#options=()
#for item in ${items}; do
# options+=("${item}" "")
#done
items=$(find /usr/share/kbd/keymaps/ -type f -printf "%f\n" | sort -V) items=$(find /usr/share/kbd/keymaps/ -type f -printf "%f\n" | sort -V)
options=() options=()
defsel="" defsel=""
@ -1072,7 +1077,6 @@ archsetkeymap(){
clear clear
echo "echo \"KEYMAP=${keymap}\" > /mnt/etc/vconsole.conf" echo "echo \"KEYMAP=${keymap}\" > /mnt/etc/vconsole.conf"
echo "KEYMAP=${keymap}" > /mnt/etc/vconsole.conf echo "KEYMAP=${keymap}" > /mnt/etc/vconsole.conf
echo "sed -e \"s|^keymap=\\\"us\\\"|keymap=\\\"${keymap}\\\"|g\" -i /mnt/etc/conf.d/keymaps"
sed -e "s|^keymap=\"us\"|keymap=\"${keymap}\"|g" -i /mnt/etc/conf.d/keymaps sed -e "s|^keymap=\"us\"|keymap=\"${keymap}\"|g" -i /mnt/etc/conf.d/keymaps
pressanykey pressanykey
fi fi
@ -1793,7 +1797,7 @@ loadstrings(){
txtselectcountry="Select country" txtselectcountry="Select country"
txteditmirrorlist="Edit mirrorlist" txteditmirrorlist="Edit mirrorlist"
txteditpacmanconf="Edit pacman.conf" txteditpacmanconf="Edit pacman.conf"
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Install Hyperbola GNU+Linux-libre "
txtinstallhyperbolakernel="Kernel" txtinstallhyperbolakernel="Kernel"
txtinstallhyperbolafirmwares="Firmwares" txtinstallhyperbolafirmwares="Firmwares"
txtinstallhyperbolafilesystems="File Systems" txtinstallhyperbolafilesystems="File Systems"

View File

@ -61,7 +61,7 @@ txthyperbolainstallmenu="قائمة تثبيت آرتش لينكس"
txteditmirrorlist="تعديل قائمة المرآة" txteditmirrorlist="تعديل قائمة المرآة"
txteditpacmanconf="تحرير بكمن" txteditpacmanconf="تحرير بكمن"
txtinstallhyperbola="تثبيت آرتش لينكس - " txtinstallhyperbola="تثبيت آرتش لينكس "
txtinstallfirmware="تثبيت البرامج الثابتة" txtinstallfirmware="تثبيت البرامج الثابتة"
txtconfighyperbola="تعديل آرتش لينكس" txtconfighyperbola="تعديل آرتش لينكس"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="Executar grub-mkconfig ?"
txteditmirrorlist="Editar mirrorlist" txteditmirrorlist="Editar mirrorlist"
txteditpacmanconf="Editar pacman.conf" txteditpacmanconf="Editar pacman.conf"
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre "
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre" txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"
txtsethostname="Definir nome do computador" txtsethostname="Definir nome do computador"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="运行grub-mkconfig?"
txteditmirrorlist="编辑源列表" txteditmirrorlist="编辑源列表"
txteditpacmanconf="編輯 pacman.conf" txteditpacmanconf="編輯 pacman.conf"
txtinstallhyperbola="安装Hyperbola GNU+Linux-libre - " txtinstallhyperbola="安装Hyperbola GNU+Linux-libre "
txtconfighyperbola="配置Hyperbola GNU+Linux-libre" txtconfighyperbola="配置Hyperbola GNU+Linux-libre"
txtsethostname="设置计算机名" txtsethostname="设置计算机名"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="grub-mkconfig uitvoeren?"
txteditmirrorlist="Wijzig mirrorlijst?" txteditmirrorlist="Wijzig mirrorlijst?"
txteditpacmanconf="Bewerking pacman.conf" txteditpacmanconf="Bewerking pacman.conf"
txtinstallhyperbola="Installeer Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Installeer Hyperbola GNU+Linux-libre "
txtconfighyperbola="Configureer Hyperbola GNU+Linux-libre" txtconfighyperbola="Configureer Hyperbola GNU+Linux-libre"
txtsethostname="Stel computernaam in" txtsethostname="Stel computernaam in"

View File

@ -61,7 +61,7 @@ txtselectmirrorsbycountry="Select mirrors by country"
txtselectcountry="Select country" txtselectcountry="Select country"
txteditmirrorlist="Edit mirrorlist" txteditmirrorlist="Edit mirrorlist"
txteditpacmanconf="Edit pacman.conf" txteditpacmanconf="Edit pacman.conf"
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Install Hyperbola GNU+Linux-libre "
txtinstallhyperbolakernel="Kernel" txtinstallhyperbolakernel="Kernel"
txtinstallhyperbolafirmwares="Firmwares" txtinstallhyperbolafirmwares="Firmwares"
txtinstallhyperbolafilesystems="File Systems" txtinstallhyperbolafilesystems="File Systems"

View File

@ -61,7 +61,7 @@ txtselectmirrorsbycountry="Mirroir par pays"
txtselectcountry="Sélectionner pays" txtselectcountry="Sélectionner pays"
txteditmirrorlist="Éditer mirrorlist" txteditmirrorlist="Éditer mirrorlist"
txteditpacmanconf="Editer pacman.conf" txteditpacmanconf="Editer pacman.conf"
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre "
txtinstallhyperbolakernel="Noyau" txtinstallhyperbolakernel="Noyau"
txtinstallhyperbolafirmwares="Firmwares" txtinstallhyperbolafirmwares="Firmwares"
txtinstallhyperbolafilesystems="Systèmes de fichier" txtinstallhyperbolafilesystems="Systèmes de fichier"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="grub-mkconfig ausführen?"
txteditmirrorlist="Spiegelserver-Liste editieren" txteditmirrorlist="Spiegelserver-Liste editieren"
txteditpacmanconf="Bearbeiten pacman.conf" txteditpacmanconf="Bearbeiten pacman.conf"
txtinstallhyperbola="Hyperbola GNU+Linux-libre installieren - " txtinstallhyperbola="Hyperbola GNU+Linux-libre installieren "
txtconfighyperbola="Hyperbola GNU+Linux-libre konfigurieren" txtconfighyperbola="Hyperbola GNU+Linux-libre konfigurieren"
txtsethostname="Computername ändern" txtsethostname="Computername ändern"

View File

@ -59,7 +59,7 @@ txthyperbolainstallmenu="Μενού εγκατάστασης Hyperbola"
txtselectmirrorsbycountry="Επιλογή καθρεπτών βάσει χώρας" txtselectmirrorsbycountry="Επιλογή καθρεπτών βάσει χώρας"
txteditmirrorlist="Επεξεργασία λίστας καθρεπτών" txteditmirrorlist="Επεξεργασία λίστας καθρεπτών"
txteditpacmanconf="Επεξεργασία pacman.conf" txteditpacmanconf="Επεξεργασία pacman.conf"
txtinstallhyperbola="Εγκατάσταση Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Εγκατάσταση Hyperbola GNU+Linux-libre "
txtinstallfirmware="Εγκατάσταση Firmware" txtinstallfirmware="Εγκατάσταση Firmware"
txtconfighyperbola="Παραμετροποίηση Hyperbola GNU+Linux-libre" txtconfighyperbola="Παραμετροποίηση Hyperbola GNU+Linux-libre"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="grub-mkconfig futtatása ?"
txteditmirrorlist="Szerkesztés mirrorlist" txteditmirrorlist="Szerkesztés mirrorlist"
txteditpacmanconf="Szerkesztés pacman.conf" txteditpacmanconf="Szerkesztés pacman.conf"
txtinstallhyperbola="Hyperbola GNU+Linux-libre telepítés - " txtinstallhyperbola="Hyperbola GNU+Linux-libre telepítés "
txtconfighyperbola="Hyperbola GNU+Linux-libre beállítások" txtconfighyperbola="Hyperbola GNU+Linux-libre beállítások"
txtsethostname="Számítógépnév" txtsethostname="Számítógépnév"

View File

@ -59,7 +59,7 @@ txtrungrubmakeconfig="Eseguire grub-mkconfig ?"
txteditmirrorlist="Modifica mirrorlist" txteditmirrorlist="Modifica mirrorlist"
txteditpacmanconf="Modifica pacman.conf" txteditpacmanconf="Modifica pacman.conf"
txtinstallhyperbola="Installa Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Installa Hyperbola GNU+Linux-libre "
txtconfighyperbola="Configura Hyperbola GNU+Linux-libre" txtconfighyperbola="Configura Hyperbola GNU+Linux-libre"
txtsethostname="Imposta nome computer" txtsethostname="Imposta nome computer"

View File

@ -59,7 +59,7 @@ txthyperbolainstallmenu="Hyperbola Installeringsmeny"
txteditmirrorlist="Rediger Speillisten" txteditmirrorlist="Rediger Speillisten"
txteditpacmanconf="Rediger pacman.conf" txteditpacmanconf="Rediger pacman.conf"
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre "
txtconfighyperbola="Configurer Hyperbola GNU+Linux-libre" txtconfighyperbola="Configurer Hyperbola GNU+Linux-libre"
txtsethostname="Sett datamaskinnavn" txtsethostname="Sett datamaskinnavn"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="Uruchomić grub-mkconfig ?"
txteditmirrorlist="Edytuj listę mirrorów" txteditmirrorlist="Edytuj listę mirrorów"
txteditpacmanconf="Edytuj pacman.conf" txteditpacmanconf="Edytuj pacman.conf"
txtinstallhyperbola="Zainstaluj Hyperbola Linuksa - " txtinstallhyperbola="Zainstaluj Hyperbola Linuksa "
txtconfighyperbola="Skonfiguruj Hyperbola Linuksa" txtconfighyperbola="Skonfiguruj Hyperbola Linuksa"
txtsethostname="Ustaw nazwę komputera" txtsethostname="Ustaw nazwę komputera"

View File

@ -59,7 +59,7 @@ txthyperbolainstallmenu="Menu de Instalação do Hyperbola"
txteditmirrorlist="Editar lista de espelhos" txteditmirrorlist="Editar lista de espelhos"
txteditpacmanconf="Editar pacman.conf" txteditpacmanconf="Editar pacman.conf"
txtinstallhyperbola="Instalar o Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Instalar o Hyperbola GNU+Linux-libre "
txtinstallfirmware="Instalar o Firmware" txtinstallfirmware="Instalar o Firmware"
txtconfighyperbola="Configurar o Hyperbola GNU+Linux-libre" txtconfighyperbola="Configurar o Hyperbola GNU+Linux-libre"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="Создать grub-mkconfig ?"
txteditmirrorlist="Редактор mirrorlist" txteditmirrorlist="Редактор mirrorlist"
txteditpacmanconf="Редактор pacman.conf" txteditpacmanconf="Редактор pacman.conf"
txtinstallhyperbola="Установка Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Установка Hyperbola GNU+Linux-libre "
txtconfighyperbola="Настройка Hyperbola GNU+Linux-libre" txtconfighyperbola="Настройка Hyperbola GNU+Linux-libre"
txtsethostname="Установка имени системы" txtsethostname="Установка имени системы"

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="¿ Ejecutar grub-mkconfig ?"
txteditmirrorlist="Editar mirrorlist" txteditmirrorlist="Editar mirrorlist"
txteditpacmanconf="Editar pacman.conf" txteditpacmanconf="Editar pacman.conf"
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre - " txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre "
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre" txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"
txtsethostname="Establecer el nombre de la computadora" txtsethostname="Establecer el nombre de la computadora"

View File

@ -59,7 +59,7 @@ txthyperbolainstallmenu="Hyperbola Kurulum Menüsü"
txteditmirrorlist="Sunucu yansı listesini düzenle" txteditmirrorlist="Sunucu yansı listesini düzenle"
txteditpacmanconf="Sunucu yansı pacman.conf" txteditpacmanconf="Sunucu yansı pacman.conf"
txtinstallhyperbola="Hyperbola GNU+Linux-libre Kur - " txtinstallhyperbola="Hyperbola GNU+Linux-libre Kur "
txtconfighyperbola="Hyperbola GNU+Linux-libre Ayalar" txtconfighyperbola="Hyperbola GNU+Linux-libre Ayalar"
txtsethostname="Bilgisayar adını gir" txtsethostname="Bilgisayar adını gir"