mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Update yunohost_tools.py
This commit is contained in:
parent
6893a51514
commit
d0664f520d
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
os.system('hostname yunohost.yunohost.org')
|
os.system('hostname yunohost.yunohost.org')
|
||||||
|
|
||||||
# Samba sh*t fix
|
# Samba sh*t fix
|
||||||
if os.system('net getlocalsid > /dev/null') != 0:
|
if os.system('net getlocalsid > /dev/null 2>&1') != 0:
|
||||||
os.system('apt-get install --reinstall -y -qq samba yunohost-config-samba')
|
os.system('apt-get install --reinstall -y -qq samba yunohost-config-samba')
|
||||||
os.system('smbpasswd -w yunohost')
|
os.system('smbpasswd -w yunohost')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue