propellor spin
This commit is contained in:
parent
f9d6227d9d
commit
19627d9ec9
|
@ -142,18 +142,17 @@ spin host = do
|
|||
user = "root@"++host
|
||||
|
||||
bootstrapcmd = shellWrap $ intercalate " && "
|
||||
[ intercalate " ; "
|
||||
[ "if [ ! -d " ++ localdir ++ " ]"
|
||||
, "then " ++ intercalate " && "
|
||||
[ "apt-get -y install git"
|
||||
, "echo " ++ toMarked statusMarker (show NeedGitClone)
|
||||
]
|
||||
, "fi"
|
||||
]
|
||||
, "cd " ++ localdir
|
||||
, "make build"
|
||||
, "else " ++ intercalate " && "
|
||||
[ "cd " ++ localdir
|
||||
, "if [ ! -x ./propellor ]; then make build; fi"
|
||||
, "./propellor --boot " ++ host
|
||||
]
|
||||
]
|
||||
|
||||
getstatus :: Handle -> IO BootStrapStatus
|
||||
getstatus h = do
|
||||
|
|
Loading…
Reference in New Issue