Skip to content

Commit

Permalink
cosmocc: bin/ham-install-os-packages: Install APE binary format handl…
Browse files Browse the repository at this point in the history
…er ;
  • Loading branch information
prenaux committed Mar 31, 2024
1 parent 7560c17 commit 8d2b1ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/ham-install-os-packages
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi

# IMPORTANT: Update the tag date when you make any change to the list of
# packages installed. You can replace the date with the output of `arch_datez`
TAG="ham-install-os-packages-${HAM_OS}-v23_12_10"
TAG="ham-install-os-packages-${HAM_OS}-v24_04_01"
TAGFILE="$TEMPDIR/ham-install-os-packages-${HAM_OS}-tag.txt"

if [[ $(tagfile_status "$TAGFILE" "$TAG") == "up-to-date" ]]; then
Expand Down Expand Up @@ -37,6 +37,11 @@ case $HAM_OS in
;;
LINUX)
if [ "$(type apt-get 2>/dev/null | wc -l)" = 1 ]; then
echo "I/Installing Cosmo APE binary format handler"
(
set -ex
"$HAM_HOME/bin/cosmo-run" ape_install
)
echo "### Installing packages required by ham on Linux (apt-get) ###"
echo "I/Installing apt-get packages"
(
Expand Down

0 comments on commit 8d2b1ae

Please sign in to comment.