mirror of
https://github.com/YunoHost-Apps/shaarli_ynh.git
synced 2024-09-03 20:26:10 +02:00
commit
f1c145b1d1
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
||||||
import sys, json
|
import sys, json
|
||||||
userlist=json.loads(sys.stdin.readlines()[0])["Users"]
|
userlist=json.loads(sys.stdin.readlines()[0])["users"]
|
||||||
print "{0}".format("\n".join(i["Username"] for i in userlist))
|
print "{0}".format("\n".join(i["username"] for i in userlist))
|
||||||
|
|
|
@ -52,7 +52,7 @@ sudo sed -i "s@YNH_ADMIN@$admin@g" ../conf/init_config.php
|
||||||
|
|
||||||
sudo cp ../conf/options.php $app_home_path/data/options.php
|
sudo cp ../conf/options.php $app_home_path/data/options.php
|
||||||
sudo cp ../conf/init_config.php $app_home_path/data/config.php
|
sudo cp ../conf/init_config.php $app_home_path/data/config.php
|
||||||
sudo php ../conf/init_config_user.php $(sudo yunohost user list | python ../conf/user_list.py)
|
sudo php ../conf/init_config_user.php $(sudo yunohost user list --json | python ../conf/user_list.py)
|
||||||
|
|
||||||
sudo find $final_path -type f | xargs sudo chmod 644
|
sudo find $final_path -type f | xargs sudo chmod 644
|
||||||
sudo find $final_path -type d | xargs sudo chmod 755
|
sudo find $final_path -type d | xargs sudo chmod 755
|
||||||
|
|
Loading…
Add table
Reference in a new issue