mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +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
|
Tue Oct 26 10:10:23 CEST 2021
|
||||||
pkg/slackpkg+-1.7.9-noarch-1mt.txz:
|
pkg/slackpkg+-1.7.9-noarch-1mt.txz:
|
||||||
- According to slackpkg 15.0.8 new exit codes was added in slackpkg+ too:
|
- According to slackpkg 15.0.8 new exit codes was added in slackpkg+ too:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
= Full Changes list =
|
= Full Changes list =
|
||||||
|
|
||||||
== From 1.7 to 1.7.9 ==
|
== From 1.7 to 1.7.10 ==
|
||||||
|
|
||||||
*Configuration file:
|
*Configuration file:
|
||||||
|
|
||||||
|
@ -62,6 +62,12 @@
|
||||||
IMPORTANT note: please do not use
|
IMPORTANT note: please do not use
|
||||||
# slackpkg install-new && slackpkg upgrade-all
|
# 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
|
*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
|
Tue Oct 26 10:10:23 CEST 2021
|
||||||
pkg/slackpkg+-1.7.9-noarch-1mt.txz:
|
pkg/slackpkg+-1.7.9-noarch-1mt.txz:
|
||||||
- According to slackpkg 15.0.8 new exit codes was added in slackpkg+ too:
|
- 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/greylist.new
|
||||||
config etc/slackpkg/notifymsg.conf.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
|
||||||
echo "=============================================================================="
|
echo "=============================================================================="
|
||||||
fi
|
fi
|
||||||
|
[ ! -e $WORKDIR/pkglist ]&&touch $WORKDIR/pkglist
|
||||||
|
[ ! -e $WORKDIR/CHECKSUMS.md5 ]&&touch $WORKDIR/CHECKSUMS.md5
|
||||||
echo
|
echo
|
||||||
rm -f /var/lock/slackpkg.$$
|
rm -f /var/lock/slackpkg.$$
|
||||||
if [ $VERBOSE -lt 3 -a -z "$DEBUG" ];then
|
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
|
if [ $(basename $1) = "CHECKSUMS.md5.asc" -a ! -e $TMPDIR/signaturedownloaded ];then
|
||||||
mv ${TMPDIR}/CHECKSUMS.md5.asc ${TMPDIR}/CHECKSUMS.md5-slackware.asc
|
mv ${TMPDIR}/CHECKSUMS.md5.asc ${TMPDIR}/CHECKSUMS.md5-slackware.asc
|
||||||
cp ${TMPDIR}/CHECKSUMS.md5-slackware.asc ${TMPDIR}/CHECKSUMS.md5.asc
|
cp ${TMPDIR}/CHECKSUMS.md5-slackware.asc ${TMPDIR}/CHECKSUMS.md5.asc
|
||||||
|
echo "slackpkgplus repositories" >>${TMPDIR}/CHECKSUMS.md5.asc
|
||||||
for PREPO in ${REPOPLUS[*]};do
|
for PREPO in ${REPOPLUS[*]};do
|
||||||
URLFILE=${MIRRORPLUS[${PREPO/SLACKPKGPLUS_}]}CHECKSUMS.md5.asc
|
URLFILE=${MIRRORPLUS[${PREPO/SLACKPKGPLUS_}]}CHECKSUMS.md5.asc
|
||||||
if echo $URLFILE | grep -q "dir:/" ; then
|
if echo $URLFILE | grep -q "dir:/" ; then
|
||||||
|
@ -1925,7 +1928,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
cleanup
|
cleanup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SPKGPLUS_VERSION="1.7.9"
|
SPKGPLUS_VERSION="1.7.10"
|
||||||
VERSION="$VERSION / slackpkg+ $SPKGPLUS_VERSION"
|
VERSION="$VERSION / slackpkg+ $SPKGPLUS_VERSION"
|
||||||
|
|
||||||
if [ ${VERSION:0:4} == "2.82" ];then
|
if [ ${VERSION:0:4} == "2.82" ];then
|
||||||
|
@ -1963,6 +1966,18 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
mkdir -p "$WORKDIR"
|
mkdir -p "$WORKDIR"
|
||||||
fi
|
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
|
if [ ! -e $WORKDIR/install.log ];then
|
||||||
touch $WORKDIR/install.log
|
touch $WORKDIR/install.log
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue