K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 172.67.156.115

your ip : 172.71.254.145

H O M E


Filename/var/lib/dpkg/info/byobu.postinst
Size1.42 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified31-Mar-2014 19:24
Last accessed06-Jul-2025 23:04
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh -e

. /usr/share/debconf/confmodule
db_version 2.0

PKG="byobu"

db_get byobu/launch-by-default || true
if [ "$RET" = true ]; then
ln -sf /usr/bin/$PKG-launch /etc/profile.d/Z98-$PKG.sh
else
rm -f /etc/profile.d/Z98-$PKG.sh
fi

# Clean up any old-school screen-profiles diversions of /usr/bin/screen
if [ -f /usr/bin/screen ] && [ -f /usr/bin/screen.real ]; then
divertpkg=$(dpkg-divert --listpackage /usr/bin/screen || true)
if [ "$divertpkg" = "screen-profiles" ]; then
rm -f /usr/bin/screen
dpkg-divert --package screen-profiles --rename --remove /usr/bin/screen
fi
fi

# Remove the short-lived MOTD message
rm -f /etc/update-motd.d/55-window-manager

# Attempt to notify users that they should reload their profile
touch_flag() {
touch "$1" || true
chown --reference $(dirname "$1") "$1" || true
chmod 700 "$1" || true
}
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir"
if [ -d "$SOCKETDIR" ]; then
for d in "$SOCKETDIR"/S-*; do
if [ -d "$d/$PKG" ]; then
# New location of the reload flag
touch_flag "$d/$PKG/reload-required"
elif [ -d "$d" ]; then
# Old location of the reload flag
touch_flag "$d/$PKG.reload-required"
fi
done
fi

# Clean-up obsolete config file
rm -f /etc/byobu/statusrc || true

# Automatically added by dh_icons
if which update-icon-caches >/dev/null 2>&1 ; then
update-icon-caches /usr/share/icons/HighContrast
fi
# End automatically added section


# vi: syntax=sh ts=4 noexpandtab