move sanity check
This commit is contained in:
parent
dfdffecacf
commit
6ee56ce685
1 changed files with 1 additions and 1 deletions
|
@ -160,12 +160,12 @@ upgradeToDistribution newdir cleanup distributionfile = do
|
||||||
[ Param "attach", File distributionfile
|
[ Param "attach", File distributionfile
|
||||||
, Param "-mountroot", File tmpdir
|
, Param "-mountroot", File tmpdir
|
||||||
]
|
]
|
||||||
sanitycheck tmpdir
|
|
||||||
void $ boolSystem "cp"
|
void $ boolSystem "cp"
|
||||||
[ Param "-R"
|
[ Param "-R"
|
||||||
, File $ tmpdir </> installBase
|
, File $ tmpdir </> installBase
|
||||||
, File $ newdir
|
, File $ newdir
|
||||||
]
|
]
|
||||||
|
sanitycheck newdir
|
||||||
void $ boolSystem "hdiutil"
|
void $ boolSystem "hdiutil"
|
||||||
[ Param "eject"
|
[ Param "eject"
|
||||||
, Param distributionfile
|
, Param distributionfile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue