1

Link scripts to /usr/bin instead of ~/.local/bin

This commit is contained in:
Jessie Hildebrandt 2024-04-14 08:37:44 +00:00
parent 904b07ed0d
commit 19134b1b1e

View File

@ -585,7 +585,7 @@ ln -s ${DOTFILES_SOURCE_DIR}/applications/* ${HOME}/.local/share/applications
# Link scripts
mkdir -p ${HOME}/.local/bin
ln -s ${DOTFILES_SOURCE_DIR}/bin/* ${HOME}/.local/bin
sudo ln -s ${DOTFILES_SOURCE_DIR}/bin/* /usr/bin
# Copy configuration files
mkdir -p ${HOME}/.config
@ -593,11 +593,10 @@ cp -r ${DOTFILES_SOURCE_DIR}/config/* ${HOME}/.config/
# (OPTIONAL) Remove unneeded files, depending on features selected
if [[ "${detected_features[@]}" != *'Touchpad'* ]]; then
rm ${HOME}/.local/bin/gnome-toggle-touchpad-lock
sudo rm /usr/bin/gnome-toggle-touchpad-lock
fi
if [[ "${detected_features[@]}" != *'Windows'* ]]; then
rm ${HOME}/.local/share/applications/windows.desktop
rm ${HOME}/.local/bin/reboot-windows
sudo rm /usr/bin/reboot-windows
fi
########################################