8 Commits

Author SHA1 Message Date
vlad doster
eed099b954 Cohesive shell script formatting
- Format all shell scripts using [shfmt]
  (https://github.com/mvdan/sh).

Options used:

* `-bn`: binary ops like && and | may start a line
* `-sr`: redirect operators will be followed by a space
* `-ci`: indent switch cases
* `-i 4`: indent 4 spaces
* `-s`: simplify the code
* `-p`: parse for posix compliance

- Add Github action to lint changes to scripts and enforce formatting
  going forward

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2021-03-15 06:16:20 -05:00
Alexander Goussas
536ec1a09b
redirect stdout to /dev/null (#772)
* pacman -Qq outputs to stdout

* redirect stdout to /dev/null as well

Co-authored-by: Alexander Goussas <alexander@alexandergoussas.com>
2020-07-26 08:28:00 -04:00
Luke Smith
bb934de611
ifinstalled may take multiple progs 2020-06-12 11:01:41 -04:00
Ashish Panigrahi
f07469fbff
Works only when "2>" instead of ">" (#706) 2020-06-12 10:58:39 -04:00
Luke Smith
37788be5d9
ifinstalled now checks for packages, iplocate fix,
sleep removed from torwrap
2020-04-18 10:33:58 -04:00
Luke Smith
2b5df860de
#!/bin/sh shebang. newline after universalized. 2020-02-08 18:43:37 -05:00
Luke Smith
1bca65bfc2
portable shebang 2019-08-18 12:28:11 -04:00
Luke Smith
c6e69e9642 massive cleanup 2019-05-19 20:05:14 -04:00