summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorJaka Kranjc2008-08-22 18:44:38 +0200
committerJaka Kranjc2008-08-22 18:46:27 +0200
commite538fdc18ac933b3e0e6ce336f304da919801282 (patch)
tree2c7725e0d27aa90b50fa25a37e46af19373ca791 /FUNCTIONS
parentc5b8b2c78e890c0e8f28a62b11d834f5a3117b00 (diff)
FUNCTIONS: made default_grimoire_post_install a noop if staging is off
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS5
1 files changed, 4 insertions, 1 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 7e3ae66a97..8ed8e1eff7 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -7,7 +7,10 @@
#---------------------------------------------------------------------
function default_grimoire_post_install () {
real_default_sorcery_post_install && # currently a no-op
- pushd TRANSL &> /dev/null
+ if [[ $STAGED_INSTALL == off ]]; then
+ return 0
+ fi &&
+ pushd TRANSL &> /dev/null &&
if [[ -d usr/man ]]; then
echo Fixing bad install path: /usr/man &&
mv -v usr/man usr/share