Clean up /root/packages/ check

This commit is contained in:
2026-06-07 20:53:47 +02:00
parent b450236f5f
commit 558ca8f8e0
+5 -1
View File
@@ -109,7 +109,11 @@ echo "------------------" >> "/etc/motd"
echo "---> Install locally built packages on ISO (place packages under airootfs/root/packages) --->" echo "---> Install locally built packages on ISO (place packages under airootfs/root/packages) --->"
echo "--> content of /root/packages:" echo "--> content of /root/packages:"
ls "/root/packages/" 2>&1 || echo " (empty - no local packages)" if [[ -d "/root/packages/" ]]; then
ls "/root/packages/"
else
echo " (empty - no local packages)"
fi
echo "end of content of /root/packages. <---" echo "end of content of /root/packages. <---"
if [[ -d "/root/packages/" ]]; then if [[ -d "/root/packages/" ]]; then