Skip to content

Commit

Permalink
argentum => [allows.sh]
Browse files Browse the repository at this point in the history
  • Loading branch information
mendess committed Jan 19, 2023
1 parent 3a1d9a1 commit a439277
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .install-profile/allows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ script="$1"
want_to_install="$2"

! [ -e "$profiles_folder/$script.profile" ] ||
grep -qEf "$profiles_folder/$script.profile" <<<"$want_to_install"
grep --line-regexp \
--quiet \
--extended-regexp \
--file="$profiles_folder/$script.profile" \
<<<"$want_to_install"

0 comments on commit a439277

Please sign in to comment.