mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
maintainer cleanup of unneeded /usr/share/screen-profiles/bin/screen-profiles symlink
This commit is contained in:
parent
441401ba8b
commit
c91eb63f91
2 changed files with 2 additions and 0 deletions
1
debian/postinst
vendored
1
debian/postinst
vendored
|
@ -6,6 +6,7 @@ if [ "$1" = "configure" ]; then
|
||||||
# user is upgrading from within an existing screen session depending on the old
|
# user is upgrading from within an existing screen session depending on the old
|
||||||
# paths, we're going to break their status bar.
|
# paths, we're going to break their status bar.
|
||||||
[ -d /usr/share/screen-profiles/bin ] || ln -sf /var/lib/screen-profiles /usr/share/screen-profiles/bin
|
[ -d /usr/share/screen-profiles/bin ] || ln -sf /var/lib/screen-profiles /usr/share/screen-profiles/bin
|
||||||
|
[ -L /usr/share/screen-profiles/bin/screen-profiles ] && rm -f /usr/share/screen-profiles/bin/screen-profiles
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
1
debian/prerm
vendored
1
debian/prerm
vendored
|
@ -3,6 +3,7 @@
|
||||||
if [ "$1" = "remove" ]; then
|
if [ "$1" = "remove" ]; then
|
||||||
# This is a hack that should be removed just before Jaunty goes GA.
|
# This is a hack that should be removed just before Jaunty goes GA.
|
||||||
[ -L /usr/share/screen-profiles/bin ] && rm -f /usr/share/screen-profiles/bin
|
[ -L /usr/share/screen-profiles/bin ] && rm -f /usr/share/screen-profiles/bin
|
||||||
|
[ -L /usr/share/screen-profiles/bin/screen-profiles ] && rm -f /usr/share/screen-profiles/bin/screen-profiles
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue