Skip to content
Snippets Groups Projects
Commit cb6c4330 authored by Florent Thiery's avatar Florent Thiery
Browse files

also install mediafolder

parent f930a9db
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ def setup(interactive=True):
raise Exception('Invalid user/pass definition, separator not present or too many detected')
# Run commands
cmds = [
'apt-get install --yes pure-ftpd python3-unidecode',
'apt-get install --yes pure-ftpd python3-unidecode python3-mediaserver-mediafolder',
dict(line='adduser --disabled-login --gecos "" --shell /bin/false ftp', cond='id ftp', cond_neg=True, cond_skip=True),
'cp "%s/create_ftp_account.sh" /usr/local/bin' % (dir_path),
'mkdir -p /home/ftp/storage',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment