mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
WebSetup.hs: don't output messages that lie about what's being installed
This commit is contained in:
@@ -104,9 +104,10 @@ setupWeb dest (pkg,lbi) = do
|
|||||||
copy_pgf (pgf,subdir,_) =
|
copy_pgf (pgf,subdir,_) =
|
||||||
do let src = gfo_dir </> pgf
|
do let src = gfo_dir </> pgf
|
||||||
let dst = grammars_dir </> pgf
|
let dst = grammars_dir </> pgf
|
||||||
putStrLn $ "Installing "++dst
|
|
||||||
ex <- doesFileExist src
|
ex <- doesFileExist src
|
||||||
if ex then copyFile src dst else return ()
|
if ex then do putStrLn $ "Installing "++dst
|
||||||
|
copyFile src dst
|
||||||
|
else putStrLn $ "Not installing "++dst
|
||||||
|
|
||||||
gf_logo = "gf0.png"
|
gf_logo = "gf0.png"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user