byobu/debian/postrm
Dustin Kirkland dcebea76d2 gnome-terminal-server, LP: #1512498
* === added directory usr/share/byobu/desktop, === added directory
  usr/share/dbus-1, === added directory usr/share/dbus-1/services,
  configure.ac, debian/control, debian/postinst, debian/postrm,
  Makefile.am, usr/share/applications/byobu.desktop =>
  usr/share/byobu/desktop/byobu.desktop,
  usr/share/applications/Makefile.am =>
  usr/share/byobu/desktop/Makefile.am,
  usr/share/byobu/desktop/byobu.desktop.old, usr/share/dbus-
  1/services/Makefile.am, usr/share/dbus-
  1/services/us.kirkland.terminals.byobu.service: LP: #1512498, #1503418
  - huge work around the mess that is gnome-terminal-server
  - install two different desktop files to /usr/share/byobu/desktops/*
  - in postinst, symlink the correct one into /usr/share/applications
  - clean up that conditionally installed symlink in postinst
  - suggest gnome-terminal package, as our new desktop file hardcodes
    gnome-terminal (this kind of sucks)
  - in byobu.desktop, exec gnome-terminal with a --app-id hint, and
    drop the Terminal=true, as gnome-terminal will take care of that
  - install a dbus service, as new gnome-terminal expects to launch
    via dbus
  - fqdn namespace that service to us.kirkland.terminals.byobu
    + this is stupid, btw
2015-12-02 13:35:05 -06:00

14 lines
216 B
Bash

#!/bin/sh -e
PKG="byobu"
# Clean-up obsolete config file
rm -f /etc/byobu/statusrc || true
# Clean-up linked desktop file
rm -rf /usr/share/applications/$PKG.desktop
#DEBHELPER#
# vi: syntax=sh ts=4 noexpandtab