diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-12-01 23:26:41 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-12-01 23:26:41 +0300 |
commit | 4ac94d027eaec138c0916a321a642bfe0e72739d (patch) | |
tree | b85c930434ea8f8a8646c47b9f11b77ddcff44a7 | |
parent | list_packages: factor out distr-specific variants (diff) | |
download | linux-home-4ac94d027eaec138c0916a321a642bfe0e72739d.tar.gz linux-home-4ac94d027eaec138c0916a321a642bfe0e72739d.zip |
code style
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.bashrc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index d6eb5a6..80012b5 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -17,12 +17,12 @@ shopt -s nocaseglob _os='' detect_os() { - command -v uname > /dev/null \ + command -v uname > /dev/null \ && [ "$( uname -o )" == 'Cygwin' ] \ - && _os='Cygwin' \ + && _os='Cygwin' \ && return 0 - [ -r /etc/os-release ] \ + [ -r /etc/os-release ] \ && _os="$( . /etc/os-release && echo "$NAME" )" \ && return 0 @@ -72,9 +72,9 @@ list_packages_cygwin() ( list_packages_ubuntu() ( set -o errexit -o nounset -o pipefail - dpkg --get-selections \ + dpkg --get-selections \ | grep --invert-match -- 'deinstall$' \ - | cut -f 1 \ + | cut -f 1 \ | cut -d ':' -f 1 ) |