mirror of
https://github.com/edu4rdshl/simpleaur.git
synced 2026-07-17 23:24:46 +00:00
Force user to see PKGBUILDs everytime, it's for security reasons
This commit is contained in:
parent
bea19e6789
commit
25bb97f553
1 changed files with 1 additions and 3 deletions
|
|
@ -29,9 +29,7 @@ done
|
|||
|
||||
# Check PKGBUILDs.
|
||||
for ipackage in "$@"; do
|
||||
cd "$basebuilddir/$ipackage"
|
||||
read -s -r -n 1 -p "View PKGBUILD for ${ipackage}? [y/n]"$'\n' answer
|
||||
[[ "${answer,,}" =~ ^(yes|y)$ ]] && "$EDITOR" PKGBUILD
|
||||
cd "$basebuilddir/$ipackage" && ${EDITOR} PKGBUILD || exit
|
||||
done
|
||||
|
||||
cd "$basebuilddir"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue