2023-03-17 16:17:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
script_dir=$(dirname "$0")
|
|
|
|
cd "$script_dir"
|
|
|
|
|
|
|
|
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
|
|
|
|
|
|
|
|
for xorg_conf_d in "/etc/X11/xorg.conf.d" "/usr/share/X11/xorg.conf.d" "/usr/lib/X11/xorg.conf.d"; do
|
2023-03-30 23:11:12 +00:00
|
|
|
[ -d "$xorg_conf_d" ] && install -Dm644 "88-gsr-coolbits.conf" "$xorg_conf_d/88-gsr-coolbits.conf" && exit 0
|
|
|
|
done
|