Commit 82389129 authored by Manuel's avatar Manuel

Fix path

parent ccea9b95
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
pkgname=pacman pkgname=pacman
pkgver=4.1.0 pkgver=4.1.0
pkgrel=2 pkgrel=3
pkgdesc="A library-based package manager with dependency support" pkgdesc="A library-based package manager with dependency support"
arch=('x86_64') arch=('x86_64')
url="http://www.archlinux.org/pacman/" url="http://www.archlinux.org/pacman/"
...@@ -35,7 +35,7 @@ build() { ...@@ -35,7 +35,7 @@ build() {
./configure --prefix=/usr --sysconfdir=/etc \ ./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --enable-doc \ --localstatedir=/var --enable-doc \
--with-scriptlet-shell=/usr/bin/bash \ --with-scriptlet-shell=/bin/bash \
--with-ldconfig=/usr/bin/ldconfig --with-ldconfig=/usr/bin/ldconfig
make make
make -C contrib make -C contrib
......
#!/bin/sh #!/bin/sh
# tputcolors
# arg 1: the new package version # arg 1: the new package version
# arg 2: the old package version # arg 2: the old package version
post_upgrade() { post_upgrade() {
# one time stuff for md5sum issue with older pacman versions # one time stuff for md5sum issue with older pacman versions
if [ "$(vercmp $2 3.0.2)" -lt 0 ]; then if [ "$(vercmp $2 3.0.2)" -lt 0 ]; then
_resetbackups _resetbackups
fi fi
if [ "$(vercmp $2 3.5.0)" -lt 0 ]; then
_warnupgrade
fi
}
_warnupgrade() {
echo ">>> The pacman database format has changed as of pacman 3.5.0."
echo ">>> You will need to run \`pacman-db-upgrade\` as root."
echo ">>>"
} }
_resetbackups() { _resetbackups() {
echo ">>> Performing one-time reset of NoUpgrade md5sums. After this reset" echo ">>> Performing one-time reset of NoUpgrade md5sums. After this reset"
echo ">>> you are able to remove all NoUpgrade lines of already protected" echo ">>> you are able to remove all NoUpgrade lines of already protected"
echo ">>> files from pacman.conf." echo ">>> files from pacman.conf."
echo ">>>" echo ">>>"
# path variables # path variables
pacconf="/etc/pacman.conf" pacconf="/etc/pacman.conf"
dbpath="/var/lib/pacman/local" dbpath="/var/lib/pacman/local"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment