summaryrefslogtreecommitdiffstats
path: root/proteanos-branding.pkg/prerm
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-25 12:32:09 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-25 12:32:09 (EDT)
commite162aef75e37eee42eb8689b3b432210cedc7198 (patch)
tree826f5e6368ebceec5c2890da1f1083272b932303 /proteanos-branding.pkg/prerm
parent4f365deb31cdbf9da89abb474b3c05f3eb2882c6 (diff)
Manage branding link in maintainer scripts.
Diffstat (limited to 'proteanos-branding.pkg/prerm')
-rw-r--r--proteanos-branding.pkg/prerm3
1 files changed, 3 insertions, 0 deletions
diff --git a/proteanos-branding.pkg/prerm b/proteanos-branding.pkg/prerm
index 11ba0a0..214c71d 100644
--- a/proteanos-branding.pkg/prerm
+++ b/proteanos-branding.pkg/prerm
@@ -10,5 +10,8 @@ if [ "x${1}" = 'xremove' ]; then
rm /var/www/index.html
fi
rm /usr/share/branding/www/SHA256SUMS
+ if ls -l /var/www/branding | grep -Fq /usr/share/branding; then
+ rm /var/www/branding
+ fi
fi
fi