home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 16 Apr 2025 01:41:46 +0000 (03:41 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 16 Apr 2025 01:41:46 +0000 (03:41 +0200)
bookworm/scripts/lib/ensure_homefiles_of_tags
bookworm/scripts/lib/ensure_packages_of_tags

index 72e8449e4ab07a662732ee5c5c14d9a818a05571..87ed0cb6b2ceb3ae1ba6bc42d62a6e66b0c4a453 100644 (file)
@@ -3,6 +3,6 @@
 . lib/constants_repopaths  # PATH_CONF_HOME
 
 ensure_homefiles_of_tags() {
-    _TO_CHOWN=$(copy_dirtree "${PATH_CONF_HOME}" "${PATH_USER_HOME}" $@ | sed "s/.*' -> //g")
+    _TO_CHOWN=$(copy_dirtree "${PATH_CONF_HOME}" "${PATH_USER_HOME}" $@ | sed "s/.*' -> '//g" | sed -E "s/'$//g")
     chown_to_user ${_TO_CHOWN}
 }
index 1492044edd5dee73417488ef5652836f9391731e..c79b1f0c305391232124e3a06ea807956d268425 100644 (file)
@@ -6,7 +6,7 @@ ensure_packages_of_tags() {
         if [ ! -f "${_PATH_APTMARK_TAG}" ]; then
             continue
         fi
-        echo "For tag '"{_TAG}"', installing"
+        echo "For tag '"${_TAG}"', installing"
         cat "${_PATH_APTMARK_TAG}" | while read _LINE; do
             if [ ! $(echo "${_LINE}" | cut -c1) = "#" ]; then
                 apt-get -q -y -o Dpkg::Options::="--force-confnew" install "${_LINE}"