Revision: 6206 http://ipcop.svn.sourceforge.net/ipcop/?rev=6206&view=rev Author: owes Date: 2012-01-02 16:51:56 +0000 (Mon, 02 Jan 2012) Log Message: ----------- Do not touch available.xml when no updates are available. Looks prettier for Flash installations.
Modified Paths: -------------- ipcop/trunk/src/libs/general-functions.pl Modified: ipcop/trunk/src/libs/general-functions.pl =================================================================== --- ipcop/trunk/src/libs/general-functions.pl 2012-01-02 16:25:19 UTC (rev 6205) +++ ipcop/trunk/src/libs/general-functions.pl 2012-01-02 16:51:56 UTC (rev 6206) @@ -1179,6 +1179,11 @@ } } + if (${General::version} eq $available->{"latest"}) { + # We are uptodate, nothing left to do + return 0; + } + unless (open(FILE, '>/var/ipcop/patches/available.xml')) { die "Could not open updates available XML file."; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn