avoid unncessary apt-get upgrade
This commit is contained in:
parent
debe58511f
commit
8e5551c925
|
@ -181,8 +181,7 @@ spin target relay hst = do
|
|||
updatecmd = mkcmd
|
||||
[ "if [ ! -d " ++ localdir ++ " ]"
|
||||
, "then (" ++ intercalate " && "
|
||||
[ "apt-get update"
|
||||
, "apt-get --no-install-recommends --no-upgrade -y install git make"
|
||||
[ "if ! git --version || ! make --version; the apt-get update && apt-get --no-install-recommends --no-upgrade -y install git make; fi"
|
||||
, "echo " ++ toMarked statusMarker (show NeedGitClone)
|
||||
] ++ ") || echo " ++ toMarked statusMarker (show NeedPrecompiled)
|
||||
, "else " ++ intercalate " && "
|
||||
|
|
Loading…
Reference in New Issue