diff options
author | u <u@billy> | 2023-05-01 09:55:50 -0400 |
---|---|---|
committer | u <u@billy> | 2023-05-01 09:55:50 -0400 |
commit | 7c3ffb64388fa8e5a4841436f014a3a04866dbc6 (patch) | |
tree | 4fea52ec3dc18da58ea1985160cc229275ffc50c | |
parent | 9ce7b4339618190be798ca97db9e941c47f8a08f (diff) |
simplify sed regex
-rw-r--r-- | install-packages.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install-packages.bash b/install-packages.bash index 0ad13da..55ec9f5 100644 --- a/install-packages.bash +++ b/install-packages.bash | |||
@@ -97,8 +97,8 @@ get_build_deps() | |||
97 | { | 97 | { |
98 | # credit: Archemar @ https://unix.stackexchange.com/a/648927 | 98 | # credit: Archemar @ https://unix.stackexchange.com/a/648927 |
99 | build_deps=$(dpkg-checkbuilddeps 2>&1 | | 99 | build_deps=$(dpkg-checkbuilddeps 2>&1 | |
100 | sed -n -e 's/dpkg-checkbuilddeps:\serror:\sUnmet build dependencies: //gp' \ | 100 | sed -n -e 's/dpkg-checkbuilddeps: error: Unmet build dependencies: //gp' \ |
101 | -e 's/[\(][^)]*[\)] //g') | 101 | -e 's/([^)]*) //g') |
102 | } | 102 | } |
103 | 103 | ||
104 | main "$@" | 104 | main "$@" |