diff --git a/debian/changelog b/debian/changelog index ac6de096..52f710a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,9 +5,9 @@ byobu (4.35) unreleased; urgency=low previous fix just enabled it everywhere * debian/postinst, usr/bin/byobu-janitor: - smooth upgrades from older byobu (<= 4.0) - - automatically reload default byobu launched sessions on upgrade * usr/lib/byobu/reboot_required: - fix path + * debian/postinst: -- Dustin Kirkland Wed, 21 Sep 2011 18:49:00 -0500 diff --git a/debian/postinst b/debian/postinst index 4e7e5d67..7b1e6c86 100644 --- a/debian/postinst +++ b/debian/postinst @@ -43,19 +43,6 @@ if [ -d "$SOCKETDIR" ]; then done fi -# Reload byobu sessions -for p in /var/run/screen/S-*/*.$PKG; do - pid=$(echo "$p" | sed -e "s:.*/::" -e "s:\..*::") - if [ -p "$p" ] && (ps -o cmd "$pid" | grep -qs "^SCREEN -S $PKG -c "); then - u=$(stat -c %U "$p") - h=$(getent passwd "$u" | awk -F: '{print $6}') - if [ -f "$h/.$PKG/profile" ]; then - s=$(basename "$p") - su -l "$u" -c "screen -S $s -X at 0 source '$h/.$PKG/profile'" >/dev/null 2>&1 || true - fi - fi -done - #DEBHELPER# # vi: syntax=sh ts=4 noexpandtab