File: openstack-dashboard-apache.postrm

package info (click to toggle)
horizon 3%3A18.6.2-5%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 29,444 kB
  • sloc: python: 93,101; javascript: 47,025; sh: 421; makefile: 78
file content (17 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

dpkg-maintscript-helper dir_to_symlink \
	/usr/share/openstack-dashboard/static /var/lib/openstack-dashboard/static 2:9.0.0~rc1-2 openstack-dashboard-apache -- "$@"


if [ "${1}" = "purge" ] ; then
	if [ -f /etc/default/openstack-dashboard-apache ] ; then
		rm -rf /etc/default/openstack-dashboard-apache
	fi
	# Remove log files
	rm -rf /var/log/openstack-dashboard
fi

#DEBHELPER#