Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 7bfc538

Browse files
Re-instated deprecated commands (Commented out)
1 parent 6271d0e commit 7bfc538

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CreateNetSUSInstaller.sh

+30
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ timeEcho "Building NetSUSLP Installer..."
1515
rm -f NetSUSInstaller.run 2>&1 > /dev/null
1616
rm -Rf temp 2>&1 > /dev/null
1717

18+
#mkdir temp
19+
#cp -R base temp
20+
#cp -R NetBoot temp
21+
#cp -R SUS temp
22+
#cp -R webadmin temp
23+
#cp -R LDAPProxy temp
24+
#cp -R includes/* temp/base/
25+
#cp -R includes/* temp/NetBoot/
26+
#cp -R includes/* temp/SUS/
27+
#cp -R includes/* temp/webadmin/
28+
#cp -R includes/* temp/LDAPProxy/
1829
mkdir -p temp/installer/checks
1930
mkdir -p temp/installer/resources
2031
mkdir -p temp/installer/utils
@@ -42,11 +53,30 @@ if [ -x /usr/bin/xattr ]; then find temp -exec xattr -c {} \; ;fi # Remove OS X
4253
find temp -name .DS_Store -delete # Clean out .DS_Store files
4354
find temp -name .svn | xargs rm -Rf # Clean out SVN garbage
4455

56+
57+
# Generate NetBoot App sub-installer
58+
#timeEcho "Creating NetBoot sub-installer..."
59+
#bash makeself/makeself.sh temp/NetBoot/ temp/base/netbootInstall.run "NetBoot Installer" "bash netbootInstall.sh" > /dev/null
60+
61+
# Generate SUS sub-installer
62+
#timeEcho "Creating SUS sub-installer..."
63+
#bash makeself/makeself.sh temp/SUS/ temp/base/susInstall.run "SUS Installer" "bash susInstall.sh" > /dev/null
64+
65+
# Generate webadmin sub-installer
66+
#timeEcho "Creating webadmin sub-installer..."
67+
#bash makeself/makeself.sh temp/webadmin/ temp/base/webadminInstall.run "WebAdmin Installer" "bash webadminInstall.sh" > /dev/null
68+
69+
# Generate LDAP Proxy sub-installer
70+
#timeEcho "Creating LDAP Proxy sub-installer..."
71+
#bash makeself/makeself.sh temp/LDAPProxy/ temp/base/LDAPProxyInstall.run "LDAP Proxy Installer" "bash LDAPProxyInstall.sh" > /dev/null
72+
4573
# Generate final installer
4674
timeEcho "Creating final installer..."
75+
#bash makeself/makeself.sh temp/base/ NetSUSLPInstaller.run "NetSUSLP Installer" "bash NetSUSInstaller.sh"
4776
bash makeself/makeself.sh temp/installer/ NetSUSLPInstaller.run "NetSUSLP Installer" "bash install.sh"
4877

4978
timeEcho "Cleaning up..."
79+
#cp temp/*/*.run . # Uncomment this if you want to test the sub-installers outside of the main installer
5080
rm -Rf temp 2>&1 > /dev/null
5181
timeEcho "Finished creating the NetSUS Installer. "
5282

0 commit comments

Comments
 (0)