diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-25 17:56:11 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-25 17:56:11 +0300 |
commit | 3d1ac1cfa889abcdce55f2d6e954076afe030c27 (patch) | |
tree | 4b459017da34a2dc89443e30692c4d8bbf4f50e3 | |
parent | runc*: support -I w/ relative paths (diff) | |
download | linux-home-3d1ac1cfa889abcdce55f2d6e954076afe030c27.tar.gz linux-home-3d1ac1cfa889abcdce55f2d6e954076afe030c27.zip |
os.sh: support Linux Mint
-rw-r--r-- | %HOME%/.bash_utils/os.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/%HOME%/.bash_utils/os.sh b/%HOME%/.bash_utils/os.sh index 785420b..42b7307 100644 --- a/%HOME%/.bash_utils/os.sh +++ b/%HOME%/.bash_utils/os.sh @@ -34,6 +34,10 @@ os_is_ubuntu() { test "$_os" == 'Ubuntu' } +os_is_linux_mint() { + test "$_os" == 'Linux Mint' +} + os_is_arch() { test "$_os" == 'Arch Linux' } @@ -97,7 +101,7 @@ pkg_list() ( if os_is_cygwin; then pkg_list_cygwin - elif os_is_ubuntu; then + elif os_is_ubuntu || os_is_linux_mint; then pkg_list_ubuntu elif os_is_arch; then pkg_list_arch |