mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-25 09:58:47 +01:00
Sun Dec 19 23:40:59 CET 2021
pkg/slackpkg+-1.7.10-noarch-1mt.txz: - According to slackpkg 15.0.9, automatically rebuild package lists if missing or not build by slackpkg+ +-------------------------+
This commit is contained in:
parent
2f64eabb0a
commit
cea5330058
5 changed files with 39 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun Dec 19 23:40:59 CET 2021
|
||||
pkg/slackpkg+-1.7.10-noarch-1mt.txz:
|
||||
- According to slackpkg 15.0.9, automatically rebuild package lists if
|
||||
missing or not build by slackpkg+
|
||||
+-------------------------+
|
||||
|
||||
Tue Oct 26 10:10:23 CEST 2021
|
||||
pkg/slackpkg+-1.7.9-noarch-1mt.txz:
|
||||
- According to slackpkg 15.0.8 new exit codes was added in slackpkg+ too:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
= Full Changes list =
|
||||
|
||||
== From 1.7 to 1.7.9 ==
|
||||
== From 1.7 to 1.7.10 ==
|
||||
|
||||
*Configuration file:
|
||||
|
||||
|
@ -62,6 +62,12 @@
|
|||
IMPORTANT note: please do not use
|
||||
# slackpkg install-new && slackpkg upgrade-all
|
||||
|
||||
- Rebuild pkglist database if it was not generated by slackpkg+. Avoid slackpkg
|
||||
(starting 15.0.9) to autogenerate pkglist database skipping slackpkg+.
|
||||
This happen after a self upgrade of slackpkg.
|
||||
After a manual upgrade of slackpkg or a manual remove of pkglist database,
|
||||
slackpkg will generate the pkglist skipping slackpkg+ then slackpkg+ will
|
||||
regenerate pkglist skipping slackpkg :)
|
||||
|
||||
*Improvements
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
Sun Dec 19 23:40:59 CET 2021
|
||||
pkg/slackpkg+-1.7.10-noarch-1mt.txz:
|
||||
- According to slackpkg 15.0.9, automatically rebuild package lists if
|
||||
missing or not build by slackpkg+
|
||||
+-------------------------+
|
||||
|
||||
Tue Oct 26 10:10:23 CEST 2021
|
||||
pkg/slackpkg+-1.7.9-noarch-1mt.txz:
|
||||
- According to slackpkg 15.0.8 new exit codes was added in slackpkg+ too:
|
||||
|
|
|
@ -39,3 +39,7 @@ config etc/slackpkg/slackpkgplus.conf.new
|
|||
config etc/slackpkg/greylist.new
|
||||
config etc/slackpkg/notifymsg.conf.new
|
||||
|
||||
if [ -d var/lib/slackpkg ];then
|
||||
[ ! -e $WORKDIR/pkglist ]&&touch $WORKDIR/pkglist
|
||||
[ ! -e $WORKDIR/CHECKSUMS.md5 ]&&touch $WORKDIR/CHECKSUMS.md5
|
||||
fi
|
||||
|
|
|
@ -239,6 +239,8 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
echo
|
||||
echo "=============================================================================="
|
||||
fi
|
||||
[ ! -e $WORKDIR/pkglist ]&&touch $WORKDIR/pkglist
|
||||
[ ! -e $WORKDIR/CHECKSUMS.md5 ]&&touch $WORKDIR/CHECKSUMS.md5
|
||||
echo
|
||||
rm -f /var/lock/slackpkg.$$
|
||||
if [ $VERBOSE -lt 3 -a -z "$DEBUG" ];then
|
||||
|
@ -701,6 +703,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
if [ $(basename $1) = "CHECKSUMS.md5.asc" -a ! -e $TMPDIR/signaturedownloaded ];then
|
||||
mv ${TMPDIR}/CHECKSUMS.md5.asc ${TMPDIR}/CHECKSUMS.md5-slackware.asc
|
||||
cp ${TMPDIR}/CHECKSUMS.md5-slackware.asc ${TMPDIR}/CHECKSUMS.md5.asc
|
||||
echo "slackpkgplus repositories" >>${TMPDIR}/CHECKSUMS.md5.asc
|
||||
for PREPO in ${REPOPLUS[*]};do
|
||||
URLFILE=${MIRRORPLUS[${PREPO/SLACKPKGPLUS_}]}CHECKSUMS.md5.asc
|
||||
if echo $URLFILE | grep -q "dir:/" ; then
|
||||
|
@ -1925,7 +1928,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
cleanup
|
||||
fi
|
||||
|
||||
SPKGPLUS_VERSION="1.7.9"
|
||||
SPKGPLUS_VERSION="1.7.10"
|
||||
VERSION="$VERSION / slackpkg+ $SPKGPLUS_VERSION"
|
||||
|
||||
if [ ${VERSION:0:4} == "2.82" ];then
|
||||
|
@ -1963,6 +1966,18 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
mkdir -p "$WORKDIR"
|
||||
fi
|
||||
|
||||
if ! grep -q "slackpkgplus repositories" $WORKDIR/CHECKSUMS.md5.asc 2>/dev/null &&
|
||||
[ "$CMD" != "update" ] && [ "$CMD" != "new-config" ] && [ "$CMD" != "help" ];then
|
||||
echo "======================================================"
|
||||
echo "We need to force 'slackpkg update' to enable slackpkg+"
|
||||
echo "Then you can rerun '$CMD' command "
|
||||
echo "======================================================"
|
||||
echo
|
||||
echo "slackpkg forced to rebuild pkglist database" >> $TMPDIR/info.log
|
||||
echo "Please may try 'slackpkg $CMD $INPUTLIST' now" >> $TMPDIR/info.log
|
||||
CMD="update"
|
||||
fi
|
||||
|
||||
if [ ! -e $WORKDIR/install.log ];then
|
||||
touch $WORKDIR/install.log
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue