fix: Add -T flag to module install copy

Addresses #34. Altered global modules will now update instead of being copied to a sub-directory.
This commit is contained in:
Archie Hilton 2022-10-01 19:08:35 +01:00
parent 574f5703c5
commit 345f4e678e

View file

@ -33,7 +33,7 @@ fi
mkdir --parents "/usr/share/dwmbar/" mkdir --parents "/usr/share/dwmbar/"
echo "./modules --> /usr/share/dwmbar/modules" echo "./modules --> /usr/share/dwmbar/modules"
cp -r "./modules" "/usr/share/dwmbar/modules" cp -rT "./modules" "/usr/share/dwmbar/modules"
echo "./bar.sh --> /usr/share/dwmbar/bar.sh" echo "./bar.sh --> /usr/share/dwmbar/bar.sh"
cp "./bar.sh" "/usr/share/dwmbar/bar.sh" cp "./bar.sh" "/usr/share/dwmbar/bar.sh"