fixed list creation

This commit is contained in:
Marcus 2023-05-03 19:32:08 +02:00
parent 9efd4ebfd4
commit fcaf69631b

View file

@ -115,7 +115,7 @@ message "copy build/nanodesk-files/ to build/chroot/"
sudo cp -r build/nanodesk-files/* build/chroot/ sudo cp -r build/nanodesk-files/* build/chroot/
message "generate icon path list for jwm config" message "generate icon path list for jwm config"
find build/chroot/usr/share/icons/ -type d > build/tmp/jwm.iconlist find build/chroot/usr/share/icons/ -type d | sed 's/build\/chroot//g' > build/tmp/jwm.iconlist
sed -i -e 's/^/\ \ \ \ <IconPath>/g' -e 's/$/<\/IconPath>/g' build/tmp/jwm.iconlist sed -i -e 's/^/\ \ \ \ <IconPath>/g' -e 's/$/<\/IconPath>/g' build/tmp/jwm.iconlist
sudo cp build/tmp/jwm.iconlist build/chroot/tmp/ || error sudo cp build/tmp/jwm.iconlist build/chroot/tmp/ || error