File: postinst

package info (click to toggle)
xcal 4.1-19
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, lenny, squeeze, stretch, wheezy
  • size: 780 kB
  • ctags: 3,851
  • sloc: ansic: 5,576; makefile: 4,265; sh: 573
file content (14 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# postinst for xcal
#############################################
set -e

#DEBHELPER#

# clean up the symlink to xcal.real that was created by the xaw wrappers
# to point to xcal.real (which is no longer part of the package)
if [ -L /etc/alternatives/xcal ] ; then
   update-alternatives --remove xcal /usr/bin/xcal.real
   update-alternatives --remove xcal /usr/share/xaw-wrappers/wrapper
fi