mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
10 lines
215 B
Bash
10 lines
215 B
Bash
#! /bin/bash
|
|
|
|
app=bozon
|
|
app_path=/var/www/$app
|
|
save_path=$1
|
|
|
|
sudo mv $save_path $app_path
|
|
sudo chown -R www-data: $app_path/private
|
|
sudo chown -R www-data: $app_path/uploads
|
|
sudo chown -R www-data: $app_path/thumbs
|