mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Create /opt/yunohost in install script
This commit is contained in:
parent
f65c46a410
commit
14cdb2f5c9
1 changed files with 2 additions and 0 deletions
|
@ -58,7 +58,9 @@ ynh_app_setting_set $app is_public "$is_public"
|
||||||
|
|
||||||
# Install debian packages dependencies
|
# Install debian packages dependencies
|
||||||
sudo apt-get install -y -qq python-dev python-virtualenv supervisor libmysqlclient-dev
|
sudo apt-get install -y -qq python-dev python-virtualenv supervisor libmysqlclient-dev
|
||||||
|
|
||||||
# Create the dedicated user
|
# Create the dedicated user
|
||||||
|
sudo mkdir -p /optc/yunohost
|
||||||
sudo useradd ihatemoney -d /opt/yunohost/ihatemoney/ --create-home
|
sudo useradd ihatemoney -d /opt/yunohost/ihatemoney/ --create-home
|
||||||
|
|
||||||
# Install source
|
# Install source
|
||||||
|
|
Loading…
Reference in a new issue