diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2008-05-21 12:00:21 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2008-05-21 12:00:21 +0000 |
commit | 314fe3878a063345dc8ab3867766335d57bbb352 (patch) | |
tree | a23f974a42bbce8c1ba00b1a7c844e87ac617943 /vdrplugin-rebuild | |
parent | Allow to only merge plugins that are enabled, or ones that were skipped at la... (diff) | |
download | gentoo-vdr-scripts-314fe3878a063345dc8ab3867766335d57bbb352.tar.gz gentoo-vdr-scripts-314fe3878a063345dc8ab3867766335d57bbb352.tar.bz2 gentoo-vdr-scripts-314fe3878a063345dc8ab3867766335d57bbb352.zip |
Do not produce errors when no plugins were skipped at last start.
svn path=/gentoo-vdr-scripts/trunk/; revision=603
Diffstat (limited to 'vdrplugin-rebuild')
-rw-r--r-- | vdrplugin-rebuild/vdrplugin-rebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vdrplugin-rebuild/vdrplugin-rebuild b/vdrplugin-rebuild/vdrplugin-rebuild index 7840ef0..faa5d5f 100644 --- a/vdrplugin-rebuild/vdrplugin-rebuild +++ b/vdrplugin-rebuild/vdrplugin-rebuild @@ -271,6 +271,11 @@ else C_RED='' fi +if [[ ${R_OPTION_SKIPPED} == 1 && ! -f ${R_PLUGINS_SKIPPED} ]]; then + echo -e "${C_BOLD}${C_GREEN}No Plugins skipped, nothing todo${C_NORM}" + exit 0 +fi + R_CMD="$1" shift R_EMERGE_OPTS="$@" |