Update rofi-wayland.sh

This commit is contained in:
Ja.KooLit 2024-06-05 17:21:44 +09:00 committed by GitHub
parent b0c0902e04
commit 65ef8f18a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,9 @@ rofi=(
doxygen
cppcheck
ohcount
libmpdclient-dev
libnl-3-dev
libasound2-dev
)
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
@ -50,8 +53,6 @@ printf "\n\n"
# Clone and build rofi - wayland
printf "${NOTE} Installing rofi-wayland...\n"
printf "${NOTE} Installing rofi-wayland\n"
# Check if rofi folder exists
if [ -d "rofi" ]; then
printf "${NOTE} rofi folder exists. Pulling latest changes...\n"
@ -68,7 +69,7 @@ else
fi
# Proceed with the installation steps
if meson setup build && ninja -C build; then
if meson setup build && ninja -C build ; then
if sudo ninja -C build install 2>&1 | tee -a "$MLOG"; then
printf "${OK} rofi-wayland installed successfully.\n" 2>&1 | tee -a "$MLOG"
else
@ -83,4 +84,3 @@ mv "$MLOG" ../Install-Logs/ || true
cd .. || exit 1
clear