mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
We don't want any output of ls, just the return code
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
0606df529b
commit
b6b33d99de
1 changed files with 1 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -9,7 +9,7 @@ do_configure() {
|
||||||
|
|
||||||
# If apps/ is not empty, we're probably already installed in the past and
|
# If apps/ is not empty, we're probably already installed in the past and
|
||||||
# something funky happened ...
|
# something funky happened ...
|
||||||
if [ -d /etc/yunohost/apps/ ] && ls /etc/yunohost/apps/* 2>/dev/null
|
if [ -d /etc/yunohost/apps/ ] && ls /etc/yunohost/apps/* >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
echo "Sounds like /etc/yunohost/installed mysteriously disappeared ... You should probably contact the Yunohost support ..."
|
echo "Sounds like /etc/yunohost/installed mysteriously disappeared ... You should probably contact the Yunohost support ..."
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue