summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLMedia.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLMedia.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLMedia.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLMedia.pm b/Master/tlpkg/TeXLive/TLMedia.pm
index a8e3dfa91ad..e9d0666970f 100644
--- a/Master/tlpkg/TeXLive/TLMedia.pm
+++ b/Master/tlpkg/TeXLive/TLMedia.pm
@@ -1,4 +1,4 @@
-# $Id: TLMedia.pm 6947 2008-03-13 00:40:12Z karl $
+# $Id$
# TeXLive::TLMedia.pm - module for accessing TeX Live Media
# Copyright 2008 Norbert Preining
#
@@ -9,6 +9,7 @@
package TeXLive::TLMedia;
use TeXLive::TLConfig;
+use TeXLive::TLPostInstall;
use TeXLive::TLUtils qw(tllog copy win32 dirname mkdirhier conv_to_win_path basename download_file);
use TeXLive::TLPDB;
use Cwd qw/abs_path/;
@@ -224,6 +225,11 @@ sub install_package {
}
}
}
+ # do the postinstallation actions
+ if (defined($PostInstall{$pkg})) {
+ tllog($::LOG_NORMAL, "running post install action for $pkg\n");
+ &{$PostInstall{$pkg}}($totlpdb->root);
+ }
return $ret;
}
}