| Server IP : 94.16.115.136 / Your IP : 216.73.217.106 Web Server : Apache/2.4.52 (Ubuntu) System : Linux rogerrabbit 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : bkillingseder ( 1001) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh -e
is_nfs() {
local fs_type="$(stat --file-system --format=%T "$1" 2> /dev/null)"
if [ "$fs_type" = 'nfs' ]; then return 0; fi
return 1
}
maybe_convert() {
# do not try to run the program if the system has already been converted
[ "$(readlink -f /lib)" != '/usr/lib' ] || return 0
if is_nfs / || is_nfs /usr; then
cat << 'END' >&2
Warning: NFS detected, /usr/lib/usrmerge/convert-usrmerge will not be run
automatically. See #842145 for details.
END
return 0
fi
/usr/lib/usrmerge/convert-usrmerge
}
case "$1" in
configure)
maybe_convert "$@"
/usr/lib/usrmerge/convert-etc-shells
;;
esac