Finalize custom package list support

This commit is contained in:
MatMoul 2020-04-08 04:31:15 +02:00
parent df6c2bde7c
commit 9f0465c6c7
4 changed files with 9 additions and 1 deletions

View file

@ -32,6 +32,11 @@ Then follow the on-screen instructions to completion.
If you require extra help, visit the provided video playlist and follow my example.
## More custom install
sh archfi -cpl {URL of your custom package list}
You can find a sample custom package list file in the samples folder.
## For developers

3
archfi
View file

@ -867,7 +867,7 @@ installbase(){
while read pkg; do
options+=("${pkg}" "" on)
done < /tmp/archfi-custom-package-list
sel=$(whiptail --backtitle "${apptitle}" --title "Custom Package List" --checklist "" 0 0 0 \
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallarchlinuxcustompackagelist}" --checklist "" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
@ -1887,6 +1887,7 @@ loadstrings(){
txtinstallarchlinuxkernel="Kernel"
txtinstallarchlinuxfirmwares="Firmwares"
txtinstallarchlinuxfilesystems="File Systems"
txtinstallarchlinuxcustompackagelist="Custom Package List"
txtconfigarchlinux="Config Arch Linux"
txtsethostname="Set Computer Name"

View file

@ -65,6 +65,7 @@ txtinstallarchlinux="Install Arch Linux"
txtinstallarchlinuxkernel="Kernel"
txtinstallarchlinuxfirmwares="Firmwares"
txtinstallarchlinuxfilesystems="File Systems"
txtinstallarchlinuxcustompackagelist="Custom Package List"
txtconfigarchlinux="Config Arch Linux"
txtsethostname="Set Computer Name"

View file

@ -65,6 +65,7 @@ txtinstallarchlinux="Installer Arch Linux"
txtinstallarchlinuxkernel="Noyau"
txtinstallarchlinuxfirmwares="Firmwares"
txtinstallarchlinuxfilesystems="Systèmes de fichier"
txtinstallarchlinuxcustompackagelist="Liste de paquet personnel"
txtconfigarchlinux="Configurer Arch Linux"
txtsethostname="Définir le nom de l'ordinateur"