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
## Contributing
# archfi CONTRIBUTING
## Contributing :
* Open an issue before work to hard
* **Work on the src branch**
* **Use tab for indentation**
* **Preserve indentation on empty lines**
* **Use tab for identation**
* **Preserve identation on empty line**
* **Test your changes**
- [ ] 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:
```console
$ curl -L https://0x0.st/NlXF -o hyperfi
$ wget https://0x0.st/NlXF -O hyperfi
```
Finally, launch the script:
@ -40,13 +40,13 @@ You can find a sample custom package list file in the samples folder.
## For developers
You can test your script with this command:
You can test your script with this command :
```console
$ sh hyperfi -t {username} {branchname}
```
Example:
Example :
```console
$ sh hyperfi -t matmoul master

14
hyperfi
View File

@ -622,12 +622,12 @@ formatdevice(){
;;
f2fs)
fspkgs=("${fspkgs[@]} f2fs-tools")
echo "mkfs.f2fs -f $2"
mkfs.f2fs -f "${2}"
echo "mkfs.f2fs $2"
mkfs.f2fs "${2}"
;;
jfs)
fspkgs=("${fspkgs[@]} jfsutils")
echo "mkfs.jfs -f ${2}"
echo "mkfs.xfs -f ${2}"
mkfs.jfs -f "${2}"
;;
reiserfs)
@ -1056,6 +1056,11 @@ archsethostname(){
}
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)
options=()
defsel=""
@ -1072,7 +1077,6 @@ archsetkeymap(){
clear
echo "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
pressanykey
fi
@ -1793,7 +1797,7 @@ loadstrings(){
txtselectcountry="Select country"
txteditmirrorlist="Edit mirrorlist"
txteditpacmanconf="Edit pacman.conf"
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre - "
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre "
txtinstallhyperbolakernel="Kernel"
txtinstallhyperbolafirmwares="Firmwares"
txtinstallhyperbolafilesystems="File Systems"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -60,7 +60,7 @@ txtrungrubmakeconfig="grub-mkconfig futtatása ?"
txteditmirrorlist="Szerkesztés mirrorlist"
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"
txtsethostname="Számítógépnév"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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