Compare commits

..

3 Commits

Author SHA1 Message Date
William Douglas 1b841e095d Update help comment for clean-pkgs-dir
Signed-off-by: William Douglas <william.douglas@intel.com>
2023-09-19 11:24:22 -07:00
William Douglas 579d79ef92 Make clean-pkgs-dir backup things it cleans up
If something already exists in backup form, skip it, otherwise move
the content to the backup directory.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-09-19 11:22:01 -07:00
clrbuilder d85dfaec30 Update packages file for version 39970
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-09-19 00:06:54 -07:00
2 changed files with 11 additions and 3 deletions
+9 -3
View File
@@ -126,11 +126,17 @@ endif
pull: ${PULL_PKGS}
#help clean-pkgs-dir: For packages that are no longer present in the distro,
#help removes the associated package repos from the ./packages tree
#help removes the associated package repos from the ./packages tree and stores
#help it in packages_old. If it already exists in packages_old, skip it.
clean-pkgs-dir: $(PACKAGES_FILE)
@for p in ${PKGS_ORPHANED}; do \
echo "Removing $$p from packages, it is no longer in common/packages."; \
rm -rf packages/$$p; \
mkdir -p packages_old; \
if [ -d "packages_old/$$p" ]; then \
echo "packages_old/$$p already exists, not touching it"; \
else \
echo "Moving $$p from packages to packages_old, as it is no longer in common/packages."; \
mv packages/$$p packages_old/$$p; \
fi; \
done
@echo "packages directory cleaned";
+2
View File
@@ -1906,6 +1906,7 @@ kimap
kinfocenter
kinit
kio
kio-admin
kio-extras
kirigami2
kitemmodels
@@ -2597,6 +2598,7 @@ ostree
otp
oxygen
oxygen-icons5
oxygen-sounds
p11-kit
p7zip
pacrunner