Fink::SelfUpdate man page on Darwin

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
Darwin logo
[printable version]

Fink::SelfUpdate(3)	      Fink documentation	   Fink::SelfUpdate(3)

NAME
       Fink::SelfUpdate - download package descriptions from server

DESCRIPTION
   Methods
       cmd_selfupdate
		   cmd_selfupdate(@ARGV);

	   Main entry point for command-line interface to selfupdate. Pass the
	   command-line parameter list after removing "fink selfupdate" or
	   whatever moral equivalent.

       check
	     Fink::SelfUpdate::check($method);

	   This is the main entry point for the actual updating of the local
	   collection of package descriptions.

	   The optional $method parameter specifies the selfupdate method to
	   use. If no $method is specified (0 or undef), the default method is
	   used. It can be a text string naming the method, or a legacy API of
	   numerical values for some specific methods:

	   0   Use the current default method

	   1   Use the "cvs" method

	   2   Use the "rsync" method

	   The current method is specified by name in the SelfUpdateMethod
	   field in the fink.conf preference file. If there is no current
	   method preference and a specific $method is not given, the user is
	   prompted to select a method. If a $method is given that is not the
	   same as the current method preference, fink.conf is updated
	   according to $method.

       do_finish
	     Fink::SelfUpdate::do_finish;

	   Perform some final actions after updating the package descriptions
	   collection:

	   1.  Update apt indices

	   2.  Reread package descriptions (update local package database)

	   3.  If a new version of the "fink" package itself is available,
	       install that new version.

	   4.  If a new fink was installed, relaunch this fink session using
	       it.  Otherwise, do some more end-of-selfupdate tasks (see
	       finish).

       finish
	     Fink::SelfUpdate::finish;

	   Update all the packages that are part of fink itself or that have
	   an Essential or other high importance.

       last_done
		   my ($last_method,$last_time, $last_data) = Fink::SelfUpdate::last_done();
		   print "Last selfupdate was by $last_method";

		   print ", , $age seconds ago\n";
		   if ($last_time) {
			   print " ", time() - $last_time, " seconds ago";
		   }

	   Returns the method, time, and any method-specific data for the last
	   selfupdate that was performed for the active distribution.

       class2methodname
		   my $name = Fink::SelfUpdate::class2methodname('Fink::SelfUpdate::CVS');
		   # gives 'cvs'

	   Given a class, strips all leading namespaces and converts to lower-
	   case. This is considered as the SelfUpdateMethod implemented by the
	   class.

       _plugins
		   my $plugin_classes = Fink::SelfUpdate::_plugins;

	   Returns a ref to a list of subclasses (by namespace) of the present
	   class that are subclasses (by inheritance) of the Base subclass.
	   Guaranteed that there is only one class with a given lowest-level
	   name (case-insentively). The returned list is sorted by that
	   lowest-level name.

       list_plugins
		   Fink::SelfUpdate::list_plugins;

	   Prints a list of the available plugins for selfupdate-methods and
	   their status:

	   +  Method is usable
	   -  Method is not usable
	   i  Method is current default

Fink 0.36.3.1			  2013-12-30		   Fink::SelfUpdate(3)
[top]

List of man pages available for Darwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net