diff options
Diffstat (limited to 'main/mini_httpd/mini_httpd.pre-install')
-rw-r--r-- | main/mini_httpd/mini_httpd.pre-install | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/main/mini_httpd/mini_httpd.pre-install b/main/mini_httpd/mini_httpd.pre-install index c2a9d1f139..226a3c0ced 100644 --- a/main/mini_httpd/mini_httpd.pre-install +++ b/main/mini_httpd/mini_httpd.pre-install @@ -1,12 +1,5 @@ #!/bin/sh -# move config if needed and create compat symlink -if [ -f /etc/mini_httpd.conf ] && ! [ -L /etc/mini_httpd.conf ]; then - mkdir -p /etc/mini_httpd - mv /etc/mini_httpd.conf /etc/mini_httpd/mini_httpd.conf \ - && ln -s mini_httpd/mini_httpd.conf /etc/mini_httpd.conf -fi - addgroup -S -g 82 www-data 2>/dev/null adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin \ -g minihttpd minihttpd 2>/dev/null |