Re: dnf cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Den 2015-09-07 kl. 12:58, skrev Ed Greshko:
> On 09/07/15 17:52, arnaud gaboury wrote:
>> On Mon, Sep 7, 2015 at 10:32 AM, Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
>>> On 09/07/15 16:26, arnaud gaboury wrote:
>>>> Was in my current directory! Any way to tell in dnf.conf a specific
>>>> path for cache ?
>>> [egreshko@meimei ~]$ dnf download --help-cmd
>>> usage: dnf download [--help-cmd] [--source] [--destdir DESTDIR] [--resolve]
>>>                     packages [packages ...]
>>>
>>> positional arguments:
>>>   packages           packages to download
>>>
>>> optional arguments:
>>>   --help-cmd         show this help about this tool
>>>   --source           download the src.rpm instead
>>>   --destdir DESTDIR  download path, default is current dir
>>>   --resolve          resolve and download needed dependencies
>> Thank you. But is there a line I can add to /etc/dnf/dnf.conf to tell
>> the DESTDIR in a permanent manner? Can't find such a thing in
>> dnf.conf(5).

Well, you could write a short shell script like:

#! /usr/bin/sh
#

dnf download --destdir <DESTDIR>

etc
>>
> Since the download command is actually a plugin I don't think that is available. 
> 



-- 
Regards

Jon Ingason


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux