Compare commits

...

11 Commits

Author SHA1 Message Date
e1e842fdbe
README.md: fix typo 2022-06-03 06:10:49 +08:00
f1cab898fd
README.md: fix typo 2022-06-03 06:02:27 +08:00
266282f4ff
CONTRIBUTING.md: remove ":" 2022-05-26 03:34:24 +08:00
9dd40d8d14
README.md: update to curl download script 2022-05-25 23:47:41 +08:00
245039135b
CONTRIBUTING.md: fix name app 2022-05-25 23:38:39 +08:00
6e4cb4deb0
Fix title menu ascii 2022-05-25 23:14:50 +08:00
7ac38822ea
Remove unused code
localectl
2022-05-25 11:54:06 +08:00
e16839c6ea
Add echo to keymaps 2022-05-25 11:50:00 +08:00
450fe904ef
Fix typos 2022-05-25 11:25:17 +08:00
8585ad1f71
fixing jfs name in script 2022-05-25 05:14:26 +08:00
42944c5cef
fixing format options for f2fs 2022-05-25 05:13:08 +08:00
19 changed files with 29 additions and 32 deletions

View File

@ -1,10 +1,11 @@
# archfi CONTRIBUTING
# hyperfi CONTRIBUTING
## Contributing
## Contributing :
* Open an issue before work to hard
* **Work on the src branch**
* **Use tab for identation**
* **Preserve identation on empty line**
* **Use tab for indentation**
* **Preserve indentation on empty lines**
* **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
$ wget https://0x0.st/NlXF -O hyperfi
$ curl -L 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 $2"
mkfs.f2fs "${2}"
echo "mkfs.f2fs -f $2"
mkfs.f2fs -f "${2}"
;;
jfs)
fspkgs=("${fspkgs[@]} jfsutils")
echo "mkfs.xfs -f ${2}"
echo "mkfs.jfs -f ${2}"
mkfs.jfs -f "${2}"
;;
reiserfs)
@ -1056,11 +1056,6 @@ 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=""
@ -1077,6 +1072,7 @@ 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
@ -1797,7 +1793,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"