mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
regenconf: remove unecessary/inconsistent check that script is ran as root...
This commit is contained in:
parent
41da1daf02
commit
ce529107be
3 changed files with 0 additions and 12 deletions
|
@ -3,10 +3,6 @@
|
|||
set -e
|
||||
|
||||
do_init_regen() {
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "You must be root to run this script" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /usr/share/yunohost/conf/yunohost
|
||||
|
||||
|
|
|
@ -8,10 +8,6 @@ config="/usr/share/yunohost/conf/slapd/config.ldif"
|
|||
db_init="/usr/share/yunohost/conf/slapd/db_init.ldif"
|
||||
|
||||
do_init_regen() {
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "You must be root to run this script" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
do_pre_regen ""
|
||||
|
||||
|
|
|
@ -7,10 +7,6 @@ set -e
|
|||
|
||||
|
||||
do_init_regen() {
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "You must be root to run this script" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /usr/share/yunohost/conf/nginx
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue