fix cleartmp

parent dc6beeb6
...@@ -48,7 +48,7 @@ cleartmp() { ...@@ -48,7 +48,7 @@ cleartmp() {
[ "$CLEAN" == true ] || return [ "$CLEAN" == true ] || return
echo "____________________" echo "____________________"
"$BUILDERDIR"/bin/cleartmp -i PROFILESDIR=$PROFILESDIR "$BUILDERDIR"/bin/cleartmp -i
# shellcheck disable=SC2012 # shellcheck disable=SC2012
# Удаляем все, кроме самого нового # Удаляем все, кроме самого нового
[ "$VER" == "devel" ] && ls -t "$VMDIR"/ximper-"$desktop_env""$iso_suffix"-devel-*-x86_64.iso | tail -n +2 | xargs -I {} rm -v -- {} [ "$VER" == "devel" ] && ls -t "$VMDIR"/ximper-"$desktop_env""$iso_suffix"-devel-*-x86_64.iso | tail -n +2 | xargs -I {} rm -v -- {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment