fix: Correct issue with opentabletdriver just command if ~/.config/systemd/user folder doesn't exist

This commit is contained in:
Kyle Gospodnetich 2023-10-09 21:56:18 -07:00
parent 4b919010b3
commit f42737a09a
2 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,8 @@ install-opentabletdriver:
distrobox-create --nvidia --image ghcr.io/ublue-os/arch-distrobox:latest -n arch -Y; \
fi && \
distrobox enter -n arch -- ' paru -S opentabletdriver' && \
mkdir -p ~/.config/systemd/user/ && \
rm -f ~/.config/systemd/user/arch-opentabletdriver.service && \
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/OpenTabletDriver/opentabletdriver.service -O ~/.config/systemd/user/arch-opentabletdriver.service && \
systemctl --user daemon-reload && \
systemctl enable --user --now arch-opentabletdriver.service

View File

@ -151,6 +151,8 @@ install-opentabletdriver:
distrobox-create --nvidia --image ghcr.io/ublue-os/arch-distrobox:latest -n arch -Y; \
fi && \
distrobox enter -n arch -- ' paru -S opentabletdriver' && \
mkdir -p ~/.config/systemd/user/ && \
rm -f ~/.config/systemd/user/arch-opentabletdriver.service && \
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/OpenTabletDriver/opentabletdriver.service -O ~/.config/systemd/user/arch-opentabletdriver.service && \
systemctl --user daemon-reload && \
systemctl enable --user --now arch-opentabletdriver.service