1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

variable en php au lieu de bash...

This commit is contained in:
plopoyop 2014-07-30 16:06:40 +02:00
parent 7c8e442c97
commit ff92c956c8

View file

@ -41,9 +41,9 @@ sudo sed -i "s/yunoadminuser/$admin_user/g" $final_path/data/config.php
#check wallabag
if [[ $(sudo yunohost app list -f wallabag | /bin/grep -q "installed: True") -eq 0 ]]; then
echo "Detected wallabag"
$wallabagPath=$(sudo yunohost app setting wallabag path)
$wallabagUrl=$domain$wallabagPath
$sharingWallabag="array('type' => 'wallabag','name' => 'Wallabag','url' => 'https://$wallabagUrl',),"
wallabagPath=$(sudo yunohost app setting wallabag path)
wallabagUrl=$domain$wallabagPath
sharingWallabag="array('type' => 'wallabag','name' => 'Wallabag','url' => 'https://$wallabagUrl',),"
fi
freshrss_users=$(ldapsearch -h localhost -b ou=users,dc=yunohost,dc=org -x objectClass=mailAccount uid | grep uid: | sed 's/uid: //' | xargs)