updated pacman.conf

This commit is contained in:
Sohrab Behdani 2024-10-17 12:08:08 +03:30
parent bb40c35d62
commit ef681f0b94
6 changed files with 10 additions and 13 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Parchlinux # Maintainer: Parchlinux
pkgname=parch-pacman pkgname=parch-pacman
destname="/" destname="/"
pkgver=27 pkgver=29
pkgrel=0 pkgrel=0
pkgdesc="parchlinux custom pacman config" pkgdesc="parchlinux custom pacman config"
arch=('any') arch=('any')

View file

@ -14,7 +14,7 @@
#CacheDir = /var/cache/pacman/pkg/ #CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log #LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/ #GPGDir = /etc/pacman.d/gnupg/
HookDir = /etc/pacman.d/hooks/ #HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u #XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
@ -35,8 +35,10 @@ Color
CheckSpace CheckSpace
VerbosePkgLists VerbosePkgLists
ParallelDownloads = 5 ParallelDownloads = 5
DownloadUser = alpm
#DisableSandbox
DisableDownloadTimeout
ILoveCandy ILoveCandy
# By default, pacman accepts packages signed by keys that its local keyring # By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages. # trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional SigLevel = Required DatabaseOptional
@ -91,18 +93,16 @@ Include = /etc/pacman.d/mirrorlist
[multilib] [multilib]
Include = /etc/pacman.d/mirrorlist Include = /etc/pacman.d/mirrorlist
[ppr] [ppr]
SigLevel = Optional TrustAll SigLevel = Optional TrustAll
Include = /etc/pacman.d/ppr-mirrorlist Include = /etc/pacman.d/parch-mirrors
[pcp] [pcp]
SigLevel = Optional TrustAll SigLevel = Optional TrustAll
Include = /etc/pacman.d/pcp-mirrorlist Include = /etc/pacman.d/parch-mirrors
# An example of a custom package repository. See the pacman manpage for # An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories. # tips on creating your own repositories.
#[custom] #[custom]
#SigLevel = Optional TrustAll #SigLevel = Optional TrustAll
#Server = file:///home/custompkgs #Server = file:///home/custompkgs

View file

@ -0,0 +1 @@
Server = https://mirror.parchlinux.com/repos/$repo/$arch

View file

@ -1 +0,0 @@
Server = https://raw.githubusercontent.com/parchlinux/pcp/main/x86_64/

View file

@ -1 +0,0 @@
Server = https://raw.githubusercontent.com/parchlinux/ppr/main/x86_64/

View file

@ -2,9 +2,7 @@ post_install() {
cp etc/pacman.conf.parch etc/pacman.conf cp etc/pacman.conf.parch etc/pacman.conf
cp etc/pacman.d/mirrorlist.parch etc/pacman.d/mirrorlist cp etc/pacman.d/mirrorlist.parch etc/pacman.d/mirrorlist
cp etc/pacman.d/pcp-mirrorlist.parch etc/pacman.d/pcp-mirrorlist cp etc/pacman.d/parch-mirrors.parch etc/pacman.d/parch-mirrors
cp etc/pacman.d/ppr-mirrorlist.parch etc/pacman.d/ppr-mirrorlist
cp etc/pacman.d/ptr-mirrorlist.parch etc/pacman.d/ptr-mirrorlist
rm /etc/pacman.d/*.parch rm /etc/pacman.d/*.parch
rm /etc/pacman.conf.parch rm /etc/pacman.conf.parch
} }