testing
This commit is contained in:
parent
e70b7bf60b
commit
01f065cbce
1 changed files with 23 additions and 3 deletions
26
hyprlock.sh
26
hyprlock.sh
|
@ -109,6 +109,13 @@ buildGraphics() {
|
|||
}
|
||||
|
||||
cloneAndBuildGraphics() {
|
||||
PACKAGE=hyprgraphics
|
||||
|
||||
if command_exists $PACKAGE; then
|
||||
echo_error "hyprlang is already installed!"
|
||||
return 69
|
||||
fi
|
||||
|
||||
local cloneDir="$(mktemp -d)"
|
||||
cd $cloneDir || mkdir -p "$cloneDir" && cd "$cloneDir"
|
||||
|
||||
|
@ -131,6 +138,13 @@ buildUtils() {
|
|||
}
|
||||
|
||||
cloneAndBuildUtils() {
|
||||
PACKAGE=hyprutils
|
||||
|
||||
if command_exists $PACKAGE; then
|
||||
echo_error "hyprlang is already installed!"
|
||||
return 69
|
||||
fi
|
||||
|
||||
local cloneDirUtils="$(mktemp -d)"
|
||||
# local cloneDir="$HOME/.builds"
|
||||
|
||||
|
@ -156,8 +170,10 @@ buildScanner() {
|
|||
}
|
||||
|
||||
cloneAndBuildScanner() {
|
||||
if command_exists hyprwayland-scanner; then
|
||||
echo_error "hyprwayland-scanner is already installed!"
|
||||
PACKAGE=hyprwayland-scanner
|
||||
|
||||
if command_exists $PACKAGE; then
|
||||
echo_error "hyprlang is already installed!"
|
||||
return 69
|
||||
fi
|
||||
|
||||
|
@ -186,7 +202,9 @@ buildLang() {
|
|||
}
|
||||
|
||||
cloneAndBuildLang() {
|
||||
if command_exists hyprlang; then
|
||||
PACKAGE=hyprlang
|
||||
|
||||
if command_exists $PACKAGE; then
|
||||
echo_error "hyprlang is already installed!"
|
||||
return 69
|
||||
fi
|
||||
|
@ -216,6 +234,8 @@ build() {
|
|||
}
|
||||
|
||||
cloneAndBuildLock() {
|
||||
PACKAGE=hyprlock
|
||||
|
||||
local cloneDir="$(mktemp -d)"
|
||||
|
||||
cd $cloneDir || mkdir -p $cloneDir && cd $cloneDir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue