aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-08-25 17:56:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-08-25 17:56:11 +0300
commit3d1ac1cfa889abcdce55f2d6e954076afe030c27 (patch)
tree4b459017da34a2dc89443e30692c4d8bbf4f50e3 /%HOME%
parentrunc*: support -I w/ relative paths (diff)
downloadlinux-home-3d1ac1cfa889abcdce55f2d6e954076afe030c27.tar.gz
linux-home-3d1ac1cfa889abcdce55f2d6e954076afe030c27.zip
os.sh: support Linux Mint
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.bash_utils/os.sh6
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