Dateien nach "source/usr/local/emhttp/plugins/un-get" hochladen
This commit is contained in:
@@ -225,4 +225,12 @@ Date: 2024-11-01
|
||||
|
||||
- Merge PR from cloudiful to fix some packages may be skipped on installation
|
||||
and install wrong package instead
|
||||
----------------------------------------
|
||||
----------------------------------------
|
||||
|
||||
----------------------------------------
|
||||
Version: 0.28
|
||||
Date: 2024-11-22
|
||||
|
||||
- Merge PR from adapowers
|
||||
cleanup(): Multiple match resilience
|
||||
----------------------------------------
|
||||
|
@@ -395,7 +395,7 @@ ${p}"
|
||||
fi
|
||||
else
|
||||
echo "Nothing to upgrade, no packages which are installed by un-get found!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
remove() {
|
||||
@@ -441,7 +441,7 @@ cleanup() {
|
||||
PACKAGE_LIST_INSTALLED="$(cat /boot/config/plugins/un-get/installedpackages_list)"
|
||||
for p in ${BOOT_PKGS}
|
||||
do
|
||||
if [ ! $(grep ${p%.*} <<< "${INSTALLED_PKGS}") ]; then
|
||||
if [ $(grep "${p%.*}" <<< "${INSTALLED_PKGS}" | wc -l) -eq 0 ]; then
|
||||
if [ -z "${CLEANUP_LIST}" ]; then
|
||||
CLEANUP_LIST="${p}"
|
||||
else
|
||||
@@ -464,7 +464,7 @@ cleanup() {
|
||||
echo "Please wait, checking if package list is up-to-date...!"
|
||||
for p in ${PACKAGE_LIST_INSTALLED}
|
||||
do
|
||||
if [ ! $(grep ${p%.*} <<< "${INSTALLED_PKGS}") ]; then
|
||||
if [ $(grep "${p%.*}" <<< "${INSTALLED_PKGS}" | wc -l) -eq 0 ]; then
|
||||
sed -i "/$p/d" /boot/config/plugins/un-get/installedpackages_list
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user