diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2007-12-17 08:19:08 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2007-12-17 08:19:08 +0000 |
commit | 4f984258e15197cf16b897cc3b05a6d81670dfed (patch) | |
tree | 3ca2facd55ff3e549df8ec51d24956ff2118ad75 | |
parent | Move emacs-updater into own directory and split the ChangeLog. (diff) | |
download | emacs-tools-4f984258e15197cf16b897cc3b05a6d81670dfed.tar.gz emacs-tools-4f984258e15197cf16b897cc3b05a6d81670dfed.tar.bz2 emacs-tools-4f984258e15197cf16b897cc3b05a6d81670dfed.zip |
add do_updpkg(), which calls emacs-updater
svn path=/emacs-extra/eselect-emacs/; revision=870
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | emacs.eselect | 22 |
2 files changed, 22 insertions, 4 deletions
@@ -1,3 +1,7 @@ +2007-12-17 Christian Faulhammer <opfer@gentoo.org> + + * emacs.eselect: add do_updpkg(), which calls emacs-updater + 2007-11-20 Ulrich Mueller <ulm@gentoo.org> * version 1.3 diff --git a/emacs.eselect b/emacs.eselect index 96d4aff..0f3eac4 100644 --- a/emacs.eselect +++ b/emacs.eselect @@ -4,10 +4,11 @@ # # DOCUMENTATION # Following actions possible -# * show do_show() -# * list do_list() -# * set do_set() -# * update do_update() +# * show do_show() +# * list do_list() +# * set do_set() +# * update do_update() +# * deprecated_pkg do_updpkg() # # Behaviour: # do_show(): @@ -19,6 +20,8 @@ # do_set(): Set a version to be target of the symlink. # do_update(): Set the target to the highest version available # (optionally: only if not set) +# do_updpkg(): Call emacs-updater (from app-admin/emacs-updater) to +# find site initialisation files in a deprecated location DESCRIPTION="Manage /usr/bin/emacs version" MAINTAINER="emacs@gentoo.org" @@ -264,3 +267,14 @@ do_update() { # ctags symlinks are handled in an own module now do_action ctags update } + +describe_updpkg() { + echo "Find site initialisation files that are stored in deprecated locations" +} + +do_updpkg() { + if ! [[ -x "${ROOT}/usr/sbin/emacs-updater" ]]; then + die -q "Please install app-admin/emacs-updater to use this option" + fi + /usr/sbin/emacs-updater +} |