change packeges config

This commit is contained in:
hikari 2023-10-11 19:30:24 +03:30
parent e1d6605ac7
commit e6a6260086
3 changed files with 55 additions and 3 deletions

53
build.sh Executable file
View 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

View file

@ -146,12 +146,11 @@ xdg-user-dirs
packagekit-qt5
neofetch-git
ttf-ms-fonts
parch-firefox-config
firefox
#parchlinuxstuff
calamares
parchlinux-cala-config
calamares-parch
os-prober
paru
parch-emoji-ios

View file

@ -31,7 +31,7 @@ Architecture = auto
# Misc options
#UseSyslog
#Color
NoProgressBar
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5