The current OSDN download system determines whether to download directly based on the value of useragent. If you let us know pamac's useragent, we will modify the system so that we can immediately download it directly.
Im not sure how to get that. But looking at the sourcecode for pamac (https://gitlab.manjaro.org/applications/pamac/blob/1656246d332bc694fb61da6d64e30137a10f10f6/src/transaction_interface_root.vala) the user agent seems to be pamac.
// set user agent var utsname = Posix.utsname(); Environment.set_variable ("HTTP_USER_AGENT", "pamac (%s %s)".printf (utsname.sysname, utsname.machine), true);
Im not sure how to get that. But looking at the sourcecode for pamac (https://gitlab.manjaro.org/applications/pamac/blob/1656246d332bc694fb61da6d64e30137a10f10f6/src/transaction_interface_root.vala) the user agent seems to be pamac.
// set user agent var utsname = Posix.utsname(); Environment.set_variable ("HTTP_USER_AGENT", "pamac (%s %s)".printf (utsname.sysname, utsname.machine), true);
We've added direct download rule for pamac.
Thanks!
Please enable pamac, the gui package manager for Manjaro Linux, to direct download files. At present it downloads a web page instead of a db file located on osdn.