Browse Source

* changed location for the one-time postinstall scripts from

''/etc/postinstall/'' -> ''/var/adm/postinstall/''
 	  (fixed ticket: #265)



git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20300 10447126-35f2-4685-b0cf-6dd780d3921f
early
Christian Wiese 18 years ago
parent
commit
9b954e5353
  1. 25
      base/00-dirtree/data.txt
  2. 9
      base/stone/stone_mod_setup.sh

25
base/00-dirtree/data.txt

@ -1,24 +1,17 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/*/00-dirtree/data.txt
# Filename: package/.../00-dirtree/data.txt
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
m bin
m boot
@ -28,7 +21,6 @@ m etc/conf
m etc/cron.d
m etc/cron.daily
m etc/hotplug.d/default
m etc/postinstall.d
m etc/rc.d
m etc/rc.d/rcX.d
m etc/rc.d/rc0.d
@ -99,6 +91,7 @@ m var/adm/dependencies
m var/adm/flists
m var/adm/md5sums
m var/adm/packages
m var/adm/postinstall
m var/cache
m var/empty
m var/games

9
base/stone/stone_mod_setup.sh

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../stone/stone_mod_setup.sh
# Filename: package/.../stone/stone_mod_setup.sh
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -11,7 +12,7 @@
# 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 ---
#
# This module should only be executed once directly after the installation
@ -119,7 +120,7 @@ main() {
cron.run
# run the postinstall scripts right here
for x in /etc/postinstall.d/* ; do
for x in /var/adm/postinstall/* ; do
[ -f $x ] || continue
echo "Running $x ..."
$x

Loading…
Cancel
Save