mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
test if /usr/share/screen-profiles/bin exists before linking it
This commit is contained in:
parent
e7cce60324
commit
441401ba8b
1 changed files with 1 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -5,7 +5,7 @@ if [ "$1" = "configure" ]; then
|
|||
# We have moved these helper scripts from /usr/share to /var/lib, but if the
|
||||
# user is upgrading from within an existing screen session depending on the old
|
||||
# paths, we're going to break their status bar.
|
||||
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
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue