[Live-demo] Re: [OSGeo] #452: tilelite prompts user when run a 2nd time

OSGeo trac_osgeo at osgeo.org
Mon Sep 21 22:18:23 EDT 2009


#452: tilelite prompts user when run a 2nd time
-----------------------+----------------------------------------------------
  Reporter:  camerons  |       Owner:  live-demo at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  minor     |   Component:  LiveDVD                  
Resolution:            |    Keywords:                           
-----------------------+----------------------------------------------------
Comment (by hamish):

 Replying to [ticket:452 camerons]:
 > If the /tmp/ directory has already been populated (as happens
 > when you run a script for the second time), the tilelite script
 > will ask for the user to confirm to replace files or not.
 >
 > This shouldn't happen as we wish to make the install process
 > as automated as possible.

 is this from setdown.sh or install_mapnik.sh?


 if it's setdown.sh just make the mv to \mv which is the raw non-
 interactive version. or add the -f flag to it.

 often folks alias mv='mv -i' to stop themselves making silly mistakes, but
 when run from a script the .alias file typically isn't sourced so you only
 see it when cutting and pasting bits of the script into the terminal.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/452#comment:2>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list