blob: 96e04bc0f4a3ff8e0c539d3bd49129680de183f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
set -e
case "$1" in
configure)
# Reload the Apache profile
APP_PROFILE="/etc/apparmor.d/usr.sbin.apache2"
if [ -f "$APP_PROFILE" ] && aa-status --enabled 2>/dev/null; then
apparmor_parser -rTW "$APP_PROFILE" || true
fi
;;
esac
if [ -h /usr/share/tinymce/www/plugins/inlinepopups/editor_plugin.js ] &&
[ ! -e /usr/share/tinymce/www/plugins/inlinepopups/editor_plugin.js ]; then
echo "WARNING: You have been affected by http://bugs.debian.org/639733" >&2
echo "you should reinstall tinymce." >&2
fi
if [ -h /usr/share/javascript/cropper/marqueeVert.gif ] &&
[ ! -e /usr/share/javascript/cropper/marqueeVert.gif ]; then
echo "WARNING: You have been affected by http://bugs.debian.org/639733" >&2
echo "you should reinstall libjs-cropper." >&2
fi
if [ "$1" = "triggered" ] || [ "$1" = "configure" ]; then
# Update /var/lib/wordpress/wp-content
wp-setup --sync-wp-content
fi
#DEBHELPER#
exit 0
|