You are not logged in.

#1 2024-01-23 18:28:41

fasdf344
Member
Registered: 2024-01-23
Posts: 6

pacman.d folder doesnt contain /hooks/

Hey, I'm trying to add a hook to install nvidia drivers using mv

 sudo mv ./nvidia.hook /etc/pacman.d/hooks/ 

However every time I try and move the hook from my home to the folder I get this

 mv: cannot create regular file '/etc/pacman.d/hooks/': Not a directory 

I checked the directory and there is indeed no folder to add hooks, I cant find anything online so I'm asking here. If you need anything else I can provide it.

Offline

#2 2024-01-23 18:31:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: pacman.d folder doesnt contain /hooks/

So make it. Nothing complicated, just nothing bothers making an empty dir.

Offline

#3 2024-01-23 18:42:39

fasdf344
Member
Registered: 2024-01-23
Posts: 6

Re: pacman.d folder doesnt contain /hooks/

Scimmia wrote:

So make it. Nothing complicated, just nothing bothers making an empty dir.

Oh it's just that simple alright, I just assumed if it wasn't there something wrong must have happened and it wouldn't work either way (looking back kinda dumb to think that considering its just a folder lol)

But it did work thank you.

Last edited by fasdf344 (2024-01-23 18:51:16)

Offline

Board footer

Powered by FluxBB