change packeges config
This commit is contained in:
parent
e1d6605ac7
commit
e6a6260086
3 changed files with 55 additions and 3 deletions
53
build.sh
Executable file
53
build.sh
Executable file
|
@ -0,0 +1,53 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
main() {
|
||||||
|
set -e
|
||||||
|
local Black DarkGray Red LightRed Green LightGreen Brown Yellow Blue LightBlue Purple Light Purple Cyan LightCyan LightGray White reset
|
||||||
|
## save colors
|
||||||
|
Black="\e[0;30m"
|
||||||
|
DarkGray="\e[1;30m"
|
||||||
|
Red="\e[0;31m"
|
||||||
|
LightRed="\e[1;31m"
|
||||||
|
Green="\e[0;32m"
|
||||||
|
LightGreen="\e[1;32m"
|
||||||
|
Brown="\e[0;33m"
|
||||||
|
Yellow="\e[1;33m"
|
||||||
|
Blue="\e[0;34m"
|
||||||
|
LightBlue="\e[1;34m"
|
||||||
|
Purple="\e[0;35m"
|
||||||
|
Light=Purple="\e[1;35m"
|
||||||
|
Cyan="\e[0;36m"
|
||||||
|
LightCyan="\e[1;36m"
|
||||||
|
LightGray="\e[0;37m"
|
||||||
|
White="\e[1;37m"
|
||||||
|
reset="\e[0m"
|
||||||
|
local reponame
|
||||||
|
reponame=${PWD##*/}
|
||||||
|
|
||||||
|
echo -e "$Green### start install packeges for build $reponame ###$reset"
|
||||||
|
echo -e "$Brown### checking your os ###$reset"
|
||||||
|
if type pacman >/dev/null 2>&1;then
|
||||||
|
if [ "$(id -u)" != "0" ]; then
|
||||||
|
echo -e "$Red### you are not in root$reset"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
install
|
||||||
|
echo -e "$Blue### install complete ###$reset"
|
||||||
|
echo -e "$Green### start build $reponame with archiso ###$reset"
|
||||||
|
build
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo -e "$Red###os cant supported###$reset"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
install() {
|
||||||
|
pacman -Sy; pacman --noconfirm -S --needed git archiso github-cli p7zip
|
||||||
|
}
|
||||||
|
build() {
|
||||||
|
mkarchiso -v iso/
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
main
|
|
@ -146,12 +146,11 @@ xdg-user-dirs
|
||||||
packagekit-qt5
|
packagekit-qt5
|
||||||
neofetch-git
|
neofetch-git
|
||||||
ttf-ms-fonts
|
ttf-ms-fonts
|
||||||
parch-firefox-config
|
|
||||||
firefox
|
firefox
|
||||||
|
|
||||||
#parchlinuxstuff
|
#parchlinuxstuff
|
||||||
calamares
|
calamares
|
||||||
parchlinux-cala-config
|
calamares-parch
|
||||||
os-prober
|
os-prober
|
||||||
paru
|
paru
|
||||||
parch-emoji-ios
|
parch-emoji-ios
|
||||||
|
|
|
@ -31,7 +31,7 @@ Architecture = auto
|
||||||
# Misc options
|
# Misc options
|
||||||
#UseSyslog
|
#UseSyslog
|
||||||
#Color
|
#Color
|
||||||
NoProgressBar
|
#NoProgressBar
|
||||||
CheckSpace
|
CheckSpace
|
||||||
#VerbosePkgLists
|
#VerbosePkgLists
|
||||||
#ParallelDownloads = 5
|
#ParallelDownloads = 5
|
||||||
|
|
Loading…
Add table
Reference in a new issue