|
|
@ -1,8 +1,9 @@ |
|
|
|
#!/bin/sh |
|
|
|
# --- T2-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# T2 SDE: misc/tail/install_postinstall.in |
|
|
|
# Filename: misc/tail/install_postinstall.in |
|
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
@ -11,12 +12,12 @@ |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- T2-COPYRIGHT-NOTE-END --- |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
tail_postinstall_wrapper=rock_substitute |
|
|
|
|
|
|
|
auto_install_postinstall() { |
|
|
|
local pitpl= pidir=$root/etc/postinstall.d |
|
|
|
local pitpl= pidir=$root/var/adm/postinstall |
|
|
|
for pitpl in $( cd $confdir; ls -1 *.postinstall 2> /dev/null ); do |
|
|
|
echo "Installing ${pitpl%.postinstall} postinstall script..." |
|
|
|
eval "cat $confdir/$pitpl | \ |
|
|
|