chore: do not delete blend user during postinst
This commit is contained in:
parent
e4192f57ae
commit
53d7902487
2 changed files with 2 additions and 31 deletions
|
@ -133,10 +133,9 @@ def inst_networking(config):
|
|||
|
||||
|
||||
def inst_users(config):
|
||||
exec_chroot(['bash', '-c', 'userdel -r blend &>/dev/null'])
|
||||
|
||||
for home_dir in os.listdir('/home'):
|
||||
exec(['rm', '-rf', '/home/' + home_dir])
|
||||
if not home_dir == 'blend':
|
||||
exec(['rm', '-rf', '/home/' + home_dir])
|
||||
|
||||
# Add users
|
||||
for user in config['users']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue