Skip to content

Packer: any way to auto-No to edit files?

I never edit the files Packer asks whether or not edit. Is there a way to "auto No" every time it asks?

Thanks!

0 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
83o7aq

Author

39
posts
42
comments
8
media
View profile

9 comments

Please read your PKGBUILDs when installing software from the AUR. There is a lot off horribleness going around.

6 points

I'm also lazy with reading the PKGBUILDs. I sometimes read them, but not always. Have you got some examples of nastiness in these files? What should I look for in them?

1 points

Malicious stuff is pretty rare but possible. The main thing you want to look out for is bad errors like placing files in /home and make sure the source=() array contains places you trust.

7 points

But have no idea what to look for!

1 points

It's all about learning to read and write PKGBUILDs. You don't want the package to mess with /home. Check sources. Check the files they fetch. Checksums in place? PGPKeys seems correct?

5 points

That said. The whole point of Linux is to do whatever you like.

There aught to be a way to do this, even if it's ill advised.

1 points

Sure, but I'll leave that up to someone that actually uses packer.

1 points

It is not advised like others have said but if you really want to, you can alias "packer -S" to "packer -S --noconfirm". Then it will install without asking anything.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.