1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cops_ynh.git synced 2024-09-03 18:25:57 +02:00
This commit is contained in:
polytan02 2017-02-24 17:14:30 +00:00
parent 061386e23a
commit 846aaf87e3
3 changed files with 3 additions and 3 deletions

View file

@ -151,7 +151,7 @@ sudo cp ../conf/robots.txt $final_path
runninguser="${app}-ynh"
# 1. Create the user
# Create a system account for COPS if it doesn't already exists
test="$(grep ^${tuser}: /etc/passwd)"
test="$(grep ^${runninguser}: /etc/passwd)"
if [ -n "${test}" ]; then
echo "The user $runninguser does not exist, we can create it"
sudo useradd -c "$runninguser system account" \

View file

@ -45,7 +45,7 @@ sudo cp -a ./sources/* $final_path/
runninguser="${app}-ynh"
# 1. Create the user
# Create a system account for COPS if it doesn't already exists
test="$(grep ^${tuser}: /etc/passwd)"
test="$(grep ^${runninguser}: /etc/passwd)"
if [ -n "${test}" ]; then
echo "The user $runninguser does not exist, we can create it"
sudo useradd -c "$runninguser system account" \

View file

@ -83,7 +83,7 @@ sudo cp ../conf/robots.txt $final_path
runninguser="${app}-ynh"
# 1. Create the user
# Create a system account for COPS if it doesn't already exists
test="$(grep ^${tuser}: /etc/passwd)"
test="$(grep ^${runninguser}: /etc/passwd)"
if [ -n "${test}" ]; then
echo "The user $runninguser does not exist, we can create it"
sudo useradd -c "$runninguser system account" \