mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
Version 1.5.0 - 10/Jul/2015
- Fixed TAG_PRIORITY - Fixed repositories list
This commit is contained in:
parent
ab2a1e3671
commit
fa0c164f2e
8 changed files with 48 additions and 9 deletions
|
@ -1,5 +1,9 @@
|
|||
Version 1.5.0 - 10/Jul/2015
|
||||
- Fixed TAG_PRIORITY
|
||||
- Fixed repositories list
|
||||
|
||||
Version 1.4.99 - 01/Jul/2015
|
||||
- Added priority by tag. Setting TAG_PRIORITY to 'yes' slackpkg+
|
||||
- Added priority by tag. Setting TAG_PRIORITY to 'on' slackpkg+
|
||||
automatically upgrade packages from repository where the tag is the same
|
||||
of the already installed package.
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
Version 1.5.0 - 10/Jul/2015
|
||||
- Fixed TAG_PRIORITY
|
||||
- Fixed repositories list
|
||||
|
||||
Version 1.4.99 - 01/Jul/2015
|
||||
- Added priority by tag. Setting TAG_PRIORITY to 'yes' slackpkg+
|
||||
- Added priority by tag. Setting TAG_PRIORITY to 'on' slackpkg+
|
||||
automatically upgrade packages from repository where the tag is the same
|
||||
of the already installed package.
|
||||
|
||||
|
|
|
@ -165,6 +165,13 @@ you do not explicitly exclude it:
|
|||
that means 'all ktown packages except harfbuzz'
|
||||
|
||||
|
||||
Also you can set TAG_PRIORITY=on to allow slackpkg+ to select repository
|
||||
from where the package was previously installed.
|
||||
This method is based from tag of the installed package.
|
||||
slackpkg+ search a package with the same tag in all repositories and use it.
|
||||
If two repositories contains the same tag, it will honour REPOPLUS.
|
||||
|
||||
|
||||
-----
|
||||
|
||||
|
||||
|
|
|
@ -15,3 +15,6 @@
|
|||
# You may want to greylist kde and/or kdei
|
||||
#kde
|
||||
#kdei
|
||||
#
|
||||
#do not upgrade packages installed with sbopkg; use it instead
|
||||
#_SBo
|
||||
|
|
|
@ -12,7 +12,7 @@ Supported Repositories:
|
|||
> mles: http://www.microlinux.fr/microlinux/server-{14.0,14.1}-{32,64}bit/
|
||||
> msb: http://slackware.org.uk/msb/{14.0,14.1}/{1.6,1.8,1.10}/{x86,x86_64}/
|
||||
> slackers: http://ponce.cc/slackers/repository/
|
||||
> slacke17: http://ngc891.blogdns.net/pub/slacke17/slackware{,64,arm}-{14.0,14.1}/
|
||||
> slacke18: http://ngc891.blogdns.net/pub/slacke18/slackware{,64,arm}-14.1/
|
||||
> studioware: http://studioware.org/files/packages/slackware{,64}-{13.37,14.0,14.1}/
|
||||
> slackonly: http://slackonly.com/pub/packages/{14.1,current}-{x86,x86_64}/
|
||||
> rlworkman: http://rlworkman.net/pkgs/{13.37,14.0,14.1}/
|
||||
|
|
|
@ -47,7 +47,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
|
||||
|
||||
|
||||
SPKGPLUS_VERSION="1.4.99"
|
||||
SPKGPLUS_VERSION="1.5.0"
|
||||
VERSION="$VERSION / slackpkg+ $SPKGPLUS_VERSION"
|
||||
|
||||
|
||||
|
@ -292,10 +292,12 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
echo 1
|
||||
fi
|
||||
if [ "$(basename $1)" == "CHECKSUMS.md5" ];then
|
||||
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
|
||||
for PREPO in ${PRIORITY[*]};do
|
||||
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
|
||||
done
|
||||
if [ "$TAG_PRIORITY" == "on" ];then
|
||||
mv ${TMPDIR}/CHECKSUMS.md5 ${TMPDIR}/CHECKSUMS.md5-old
|
||||
for PREPO in ${PRIORITY[*]};do
|
||||
grep " \./$PREPO/" ${TMPDIR}/CHECKSUMS.md5-old >> ${TMPDIR}/CHECKSUMS.md5
|
||||
done
|
||||
fi
|
||||
X86_64=$(ls $ROOT/var/log/packages/aaa_base*x86_64* 2>/dev/null|head -1)
|
||||
for PREPO in $REPOPLUS;do
|
||||
if [ ! -z "$X86_64" ];then
|
||||
|
|
|
@ -31,8 +31,15 @@ GREYLIST=on
|
|||
|
||||
# Examples:
|
||||
#PKGS_PRIORITY=( restricted:vlc )
|
||||
# OR
|
||||
#PKGS_PRIORITY=( myrepo )
|
||||
#
|
||||
# if you have two reporitories to give priority you must set both in the same line
|
||||
#PKGS_PRIORITY=( myrepo restricted:vlc )
|
||||
#
|
||||
# if you want to install 'ktown' repository you must set it here
|
||||
#PKGS_PRIORITY=( ktown )
|
||||
# and read special instruction on /usr/doc/slackpkg+-*/repositories.txt
|
||||
|
||||
# Otherwise you can try to upgrade a package from a repository that contains a package with the
|
||||
# same tag of the already installed package. Tipically that means to upgrade a package from the
|
||||
|
|
|
@ -10,9 +10,10 @@ SLACKPKGPLUS=on
|
|||
VERBOSE=1
|
||||
|
||||
# By default slackpkg+ deny to install 32bit packages.
|
||||
#
|
||||
# Set this flag to 'on' allow slackpkg+ to install 32bit packages on a 64bit slackware
|
||||
# installation (possibly unsafe). Please, do not install both 32 and 64bit of the same
|
||||
# package to avoid problems, and NEVER upgrade exitant 64bit packages with relative 32bit package.
|
||||
# package to avoid problems, and NEVER upgrade existant 64bit packages with relative 32bit package.
|
||||
# Do not forget to install the multilibs.
|
||||
ALLOW32BIT=off
|
||||
|
||||
|
@ -38,12 +39,23 @@ GREYLIST=on
|
|||
|
||||
# Examples:
|
||||
#PKGS_PRIORITY=( restricted:vlc )
|
||||
# OR
|
||||
#PKGS_PRIORITY=( myrepo )
|
||||
#
|
||||
# if you have two reporitories to give priority you must set both in the same line
|
||||
#PKGS_PRIORITY=( myrepo restricted:vlc )
|
||||
#
|
||||
# if you want to install 'ktown' repository you must set it here
|
||||
#PKGS_PRIORITY=( ktown )
|
||||
# and read special instruction on /usr/doc/slackpkg+-*/repositories.txt
|
||||
#
|
||||
# If you want a multilib system, uncomment the multilib repository and set:
|
||||
#PKGS_PRIORITY=( multilib )
|
||||
#
|
||||
# (Use /usr/doc/slackpkg+-*/setupmultilib.sh to setup a multilib configuration)
|
||||
#
|
||||
# For both multilib and ktown set
|
||||
#PKGS_PRIORITY=( multilib ktown )
|
||||
|
||||
# Otherwise you can try to upgrade a package from a repository that contains a package with the
|
||||
# same tag of the already installed package. Tipically that means to upgrade a package from the
|
||||
|
|
Loading…
Reference in a new issue