Add dev apps
This commit is contained in:
parent
b4884be6d9
commit
2ef3ef80f5
2 changed files with 28 additions and 2 deletions
26
install/apps/dev/dev
Normal file
26
install/apps/dev/dev
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
. ./lib
|
||||||
|
|
||||||
|
options=()
|
||||||
|
options+=("notepadqq" "(QT)" off)
|
||||||
|
options+=("geany" "(GTK)" off)
|
||||||
|
options+=("geany-plugins" "(GTK)" off)
|
||||||
|
options+=("visual-studio-code-bin" "(AUR)" off)
|
||||||
|
|
||||||
|
sel=$(whiptail --backtitle "$apptitle" --title "Dev applications :" --checklist "Choose what you want" --cancel-button "Back" 0 0 0 \
|
||||||
|
"${options[@]}" \
|
||||||
|
3>&1 1>&2 2>&3)
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for itm in $sel; do
|
||||||
|
case $itm in
|
||||||
|
'"visual-studio-code-bin"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
|
||||||
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
|
exit 0
|
|
@ -7,9 +7,9 @@ options+=("Internet" "")
|
||||||
options+=("Multimedia" "")
|
options+=("Multimedia" "")
|
||||||
options+=("Graphic" "")
|
options+=("Graphic" "")
|
||||||
#options+=("Network" "")
|
#options+=("Network" "")
|
||||||
|
options+=("Dev" "")
|
||||||
options+=("System" "")
|
options+=("System" "")
|
||||||
options+=("PacMan GUI" "")
|
options+=("PacMan GUI" "")
|
||||||
#options+=("Dev" "")
|
|
||||||
#options+=("Games" "")
|
#options+=("Games" "")
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,9 +28,9 @@ case $sel in
|
||||||
"Multimedia") menu install/apps/multimedia/menu;;
|
"Multimedia") menu install/apps/multimedia/menu;;
|
||||||
"Graphic") script install/apps/graphic/graphic;;
|
"Graphic") script install/apps/graphic/graphic;;
|
||||||
"Network") script install/apps/network;;
|
"Network") script install/apps/network;;
|
||||||
|
"Dev") script install/apps/dev/dev;;
|
||||||
"System") script install/apps/system/system;;
|
"System") script install/apps/system/system;;
|
||||||
"PacMan GUI") script install/apps/pacmangui/pacmangui;;
|
"PacMan GUI") script install/apps/pacmangui/pacmangui;;
|
||||||
"Dev") script install/apps/dev;;
|
|
||||||
"Games") script install/apps/games;;
|
"Games") script install/apps/games;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue