Bug#996833: Please include information whether system is usrmerged or not
- To: Michael Biebl <biebl@debian.org>, 996833@bugs.debian.org
- Cc: Sandro Tosi <morph@debian.org>
- Subject: Bug#996833: Please include information whether system is usrmerged or not
- From: Marco d'Itri <md@linux.it>
- Date: Sun, 7 Nov 2021 00:55:41 +0100
- Message-id: <YYcV/Y0G/Tsz72uR@bongo.bofh.it>
- Reply-to: Marco d'Itri <md@linux.it>, 996833@bugs.debian.org
- In-reply-to: <09164280-6e05-673f-c807-600806b957ff@debian.org>
- References: <163464929479.23652.3849595295135156891.reportbug@pluto.milchstrasse.xx> <CAB4XWXzx6Z1cFjxpZg+rY9hd_AksLqvBj__w=MGH=BsiC+TLjQ@mail.gmail.com> <163464929479.23652.3849595295135156891.reportbug@pluto.milchstrasse.xx> <09164280-6e05-673f-c807-600806b957ff@debian.org> <163464929479.23652.3849595295135156891.reportbug@pluto.milchstrasse.xx>
On Oct 19, Michael Biebl <biebl@debian.org> wrote:
> I'd make this pretty straighforward and simply check if
> /lib is a symlink to /usr/lib and
> /bin a symlink to /usr/bin
The usrmerge package itself uses just:
[ "$(readlink -f /lib)" = '/usr/lib' ]
It is guaranteed that if /lib has been converted then /bin and /sbin
will also have been.
--
ciao,
Marco
Attachment:
signature.asc
Description: PGP signature
Reply to: