fixed release build script on APT-based distros

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent 698193a85f
commit d532097e51
  1. 2
      release_scripts/linux/package.sh

@ -348,7 +348,7 @@ for ((i=0;i<${#tab[@]};i++)); do
echo -n ", " >> "$CONTROL_FILE" echo -n ", " >> "$CONTROL_FILE"
fi fi
echo -n "${tab[$i]} (>= "`dpkg -p ${tab[$i]} | grep "Version: " | awk '{ print $2 }' | sed -e 's/\([:. 0-9?]*\).*/\1/g' | sed -e 's/\.$//'`") " >> "$CONTROL_FILE" echo -n "${tab[$i]} (>= "`apt-cache show ${tab[$i]} | grep "Version: " | head -1 | awk '{ print $2 }' | sed -e 's/\([:. 0-9?]*\).*/\1/g' | sed -e 's/\.$//'`") " >> "$CONTROL_FILE"
done done
echo -n ", onboard" >> "$CONTROL_FILE" echo -n ", onboard" >> "$CONTROL_FILE"

Loading…
Cancel
Save