From 44a920821939fdd6a5c4a0c66c533f92c5a884bd Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 25 Jun 2014 12:10:09 -0400 Subject: busybox: Don't provide /var/www/index.html. --- diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst index f77b149..c003561 100755 --- a/busybox.pkg/postinst +++ b/busybox.pkg/postinst @@ -5,20 +5,6 @@ if [ "x${1}" = 'xconfigure' ]; then update-alternatives --install "${link}" "${name}" \ "${link}.busybox" "${prio}" done /usr/share/busybox/www/SHA256SUMS - elif [ -f /var/www/index.html ] && \ - [ -f /usr/share/busybox/www/SHA256SUMS ]; then - if sha256sum -cs /usr/share/busybox/www/SHA256SUMS; then - # /var/www/index.html exists and hasn't been modified by - # the user. - cp /usr/share/busybox/www/index.html /var/www/index.html - sha256sum /var/www/index.html \ - >/usr/share/busybox/www/SHA256SUMS - fi - fi if ! [ -f /etc/rc.policy ]; then if [ "x$(cat /etc/proteanos_plat)" = 'xdev' ]; then printf 'disabled\n' >/etc/rc.policy diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm index 160a2d7..96a3db6 100755 --- a/busybox.pkg/prerm +++ b/busybox.pkg/prerm @@ -9,4 +9,14 @@ if [ "x${1}" = 'xupgrade' ]; then while read link name prio; do update-alternatives --remove "${name}" "${link}.busybox" done