larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4bbfa6127b08e10cba0fea09a2e1a54d9b74029f
parent 66dcbb52da83f9f44102d7920ceb51595a9c6fda
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri,  3 Aug 2018 14:34:53 -0400

putgitrepo fix

Diffstat:
Mlarbs.sh | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/larbs.sh b/larbs.sh @@ -120,8 +120,9 @@ systembeepoff() { dialog --infobox "Getting rid of that retarded error beep soun putgitrepo() { # Downlods a gitrepo $1 and places the files in $2 only overwriting conflicts dialog --infobox "Downloading and installing config files..." 4 60 dir=$(mktemp -d) - sudo -u $name git clone --depth 1 $1 $dir &>/dev/null && - sudo -u $name cp -rT $dir $2 + chown -R $name:wheel $dir + sudo -u $name git clone --depth 1 $1 $dir/gitrepo &>/dev/null && + sudo -u $name cp -rT $dir/gitrepo $2 } resetpulse() { dialog --infobox "Reseting Pulseaudio..." 4 50