Created
February 26, 2021 11:18
-
-
Save gjasny/b2e5a39520c05a4ddd87f7d556d5e695 to your computer and use it in GitHub Desktop.
Ubuntu Hirsute bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run -ti ubuntu:hirsute bash | |
root@008ec583a743:/# apt update | |
root@008ec583a743:/# sh -c 'if [ -x /usr/bin/true ]; then echo yes; else echo no; fi' | |
yes | |
root@008ec583a743:/# apt install -y nano # or any other package | |
root@008ec583a743:/# sh -c 'if [ -x /usr/bin/true ]; then echo yes; else echo no; fi' | |
no | |
root@008ec583a743:/# if [ -x /usr/bin/true ]; then echo yes; else echo no; fi | |
yes |
Author
gjasny
commented
Feb 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment