mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
fix: Resolve asusctl and supergfxctl compile issues in rog.sh
This commit is contained in:
parent
e476fdb59f
commit
bcbb37a87e
@ -16,6 +16,9 @@ cd "$PARENT_DIR" || exit 1
|
|||||||
|
|
||||||
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
||||||
|
|
||||||
|
# Sourcing Rust
|
||||||
|
source $HOME/.cargo/env
|
||||||
|
|
||||||
# Set the name of the log file to include the current date and time
|
# Set the name of the log file to include the current date and time
|
||||||
LOG="install-$(date +%d-%H%M%S)_rog.log"
|
LOG="install-$(date +%d-%H%M%S)_rog.log"
|
||||||
|
|
||||||
@ -40,8 +43,7 @@ install_and_log() {
|
|||||||
|
|
||||||
if git clone "$git_url" "$project_name"; then
|
if git clone "$git_url" "$project_name"; then
|
||||||
cd "$project_name" || exit 1
|
cd "$project_name" || exit 1
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh 2>&1 | tee -a "$LOG"
|
|
||||||
source "$HOME/.cargo/env"
|
|
||||||
make
|
make
|
||||||
|
|
||||||
if sudo make install 2>&1 | tee -a "$LOG"; then
|
if sudo make install 2>&1 | tee -a "$LOG"; then
|
||||||
@ -68,4 +70,4 @@ install_and_log "asusctl" "https://gitlab.com/asus-linux/asusctl.git"
|
|||||||
# Download and build supergfxctl
|
# Download and build supergfxctl
|
||||||
install_and_log "supergfxctl" "https://gitlab.com/asus-linux/supergfxctl.git"
|
install_and_log "supergfxctl" "https://gitlab.com/asus-linux/supergfxctl.git"
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user