Add D packages (git)
This commit is contained in:
parent
48219a97c0
commit
54990f3829
|
@ -186,8 +186,13 @@ installPackage() {
|
|||
runInChroot "sudo -u $username paru -S --needed --noconfirm --skipreview ${1}" 2>&1 | debug
|
||||
fi
|
||||
;;
|
||||
D)
|
||||
pkgName=$(echo ${1} | grep -oP '(?<=/).*?(?=.git)')
|
||||
runInChroot "sudo -u $username paru -Q ${pkgName}" 2>&1 | debug
|
||||
[ $? -eq 0 ] && return
|
||||
runInChroot "cd /tmp; sudo -u $username git clone https://github.com/${1}; cd ${pkgName}; sudo -u $username makepkg -si --noconfirm; cd ..; rm -rf ${pkgName}" 2>&1 | debug
|
||||
?)
|
||||
logAndExit "INSTALL must be A, B or C in packages.csv file." "${3}"
|
||||
logAndExit "INSTALL must be A, B, C or D in packages.csv file." "${3}"
|
||||
;;
|
||||
esac
|
||||
exitIfCancel "Package installation failed." "${3}"
|
||||
|
|
|
@ -3,7 +3,7 @@ base,Y,A
|
|||
base-devel,S,B
|
||||
linux,Y,A
|
||||
linux-firmware,Y,A
|
||||
libxft-bgra,N,C
|
||||
santilococo/libxft-bgra.git,N,D
|
||||
alacritty,N,B
|
||||
alsa-utils,S,B
|
||||
bc,N,B
|
||||
|
|
|
Loading…
Reference in New Issue