summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-09 17:17:42 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-09 17:17:42 -0300
commit389fac3ba5f1926e8f7d830ec0ec71501d170989 (patch)
tree70774260cc0e754ea78d3d7470d518a986d2c916 /install.sh
parent446f029034cb770713dbda3ef7bfcc350363c196 (diff)
Fixed permissions on folders
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 47b8b42..c8b5f57 100755
--- a/install.sh
+++ b/install.sh
@@ -159,8 +159,9 @@ fi
# Cleaning up...
# ============================================================================================
-echo "We need your sudo password to install the yams CLI"
+send_success_message "We need your sudo password to install the yams CLI and correct permissions..."
sudo cp yams /usr/local/bin/yams && sudo chmod +x /usr/local/bin/yams
+sudo chown -R $puid:$pgid $media_folder
printf "\033c"