Update >>Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages
update: added -p option, which will treat files listed in [prev] section of setup.ini as old. now, run ./cleanOldPackages_UTF8.sh -p -d will clean files listed in [prev] sectoin. download it from nabble.com: http://old.nabble.com/file/p26594254/cleanOldPackages_UTF8.sh cleanOldPackages_UTF8.sh LiuYan 刘研 wrote: > > After I viewed setup.ini, I decide to write a little script to do this. > Currently, it scans all the sub-directory of cygwin local package > directory, and delete all the old files which not listed in setup.ini or > setup-2.ini. > -- View this message in context: http://old.nabble.com/Cygwin-setup.exe%3A-Clean-historical-setup-packages-tp26569064p26594254.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages
On Tue, Dec 01, 2009 at 07:15:43AM -0800, LiuYan ?? wrote: >Hi Christopher, I've figure out one reason in my first post: Our >servers have NO internet connection, so I'd better to keep a local copy >of install packages, so that I can upgrade cygwin on servers by choose >"Install from Local Directory" setup type. Sorry I missed that. Nevermind. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages
Hi Christopher, I've figure out one reason in my first post: Our servers have NO internet connection, so I'd better to keep a local copy of install packages, so that I can upgrade cygwin on servers by choose "Install from Local Directory" setup type. There's another reason I don't want to talk about in my first post is our f**king government can block some websites via the f**king Great Firewall ╭∩╮(︶︿︶)╭∩╮. The sourceforge.net website had been blocked for a very long time before Olympic 2008 for reason of different political viewpoint of a project owner. Currently youtube.com & facebook.com & blogspot.com & http://python.org/download/ and many other websites are blocked in CN. One more another reason is our internet connection speed is not very fast, especially when I choosed a oversea mirror (There's no official mirror site of Cygwin in CN). That is why I keep install packages in local disk. Christopher Faylor-8 wrote: > > On Tue, Dec 01, 2009 at 04:31:48AM -0800, LiuYan ?? wrote: >>After I viewed setup.ini, I decide to write a little script to do this. >>Currently, it scans all the sub-directory of cygwin local package >>directory, and delete all the old files which not listed in setup.ini >>or setup-2.ini. > > You didn't respond to my previous observation. > > There is no reason to keep the package files around. Why not just > delete all of them? > > cgf > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > -- View this message in context: http://old.nabble.com/Cygwin-setup.exe%3A-Clean-historical-setup-packages-tp26569064p26593462.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages
On Tue, Dec 01, 2009 at 04:31:48AM -0800, LiuYan ?? wrote: >After I viewed setup.ini, I decide to write a little script to do this. >Currently, it scans all the sub-directory of cygwin local package >directory, and delete all the old files which not listed in setup.ini >or setup-2.ini. You didn't respond to my previous observation. There is no reason to keep the package files around. Why not just delete all of them? cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple