File: mini-httpd.postinst

package info (click to toggle)
mini-httpd 1.30-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 904 kB
  • sloc: ansic: 3,619; sh: 138; makefile: 109
file content (9 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

if [ ! -r /var/www/html/index.mini-httpd.html ]; then
    mkdir -p /var/www/html
    cp /usr/share/mini-httpd/html/index.html /var/www/html/index.mini-httpd.html
fi

#DEBHELPER#