04-25-2012
How to install .dmg using shell script
I want to write a script to install an application using .dmg file.
.dmg file already exists in the folder.
working on MAC OS.
10 More Discussions You Might Find Interesting
1. HP-UX
I have install gcc, downloaded shc-3.8.6 and extracted in /install
> cd /install/shc-3.8.6
> export CC=/usr/local/bin/gcc
> make cleanall
> make test
"Makefile" 72 lines, 1526 characters
# make test
/usr/local/bin/gcc -Wall -O6 -pedantic shc.c -o shc
*** Compiling script "match"... (0 Replies)
Discussion started by: alfredo
0 Replies
2. Linux
If may install can Tells everybody ??? (0 Replies)
Discussion started by: kzBSD
0 Replies
3. Shell Programming and Scripting
#!/bin/sh
echo "Installing Java!!!"
cd /opt
echo "Want to give execute Permissions to java!!!"
chmod 755 jdk-6u7-linux-i586.bin
echo "Executing the jdk script"
./jdk-6u7-linux-i586.bin
This is the shell commands I am using...
I want to know how to give answer to yes and no automatically... (6 Replies)
Discussion started by: sandeepbharmori
6 Replies
4. Shell Programming and Scripting
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Discussion started by: orablue
1 Replies
5. Ubuntu
Hi,
I want to install certain packages on my Ubuntu 8.04 32-bit machine. I am doing it via the following shell script.
#!/bin/bash
while read -r pkg
do
apt-get install --force-yes "$pkg"
&& { continue; }
done < list_of_packages.txt
The problem I am facing is, I am not able... (2 Replies)
Discussion started by: royalibrahim
2 Replies
6. Solaris
Hi there,
OK so I am super-green, but I have a problem I am hoping someone can help me with. I have a V245 that I am unable to install Solaris 10 (10/09) onto as during the initial install process, the UI pops up for region selection, but then as I enter my region, identify the system, up comes... (21 Replies)
Discussion started by: wallrunn3r
21 Replies
7. Filesystems, Disks and Memory
Hi all! I have a task that has been giving me problems.I have my sister-in-law's external hard drive that has been damaged and the filesystem is not mountable.
I am on a Mac running OSX 10.6.8
Using ddrescue, I recovered the contents and transferred to my external drive:
sudo ddrescue... (0 Replies)
Discussion started by: Imhotep1963
0 Replies
8. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
9. Shell Programming and Scripting
HI I am trying to install JAVA and set JAVA_HOME variable in non-root user mode. I am trying to write a script for that. I am doing it by downloading a tar ball.Any inputs will be helpful. (1 Reply)
Discussion started by: sailu_mvn
1 Replies
10. UNIX for Beginners Questions & Answers
I have a .dmg file which was created from a disk consisting of two partitions. When I mount the dmg both partitions pop up, so I know the imaging worked properly. One partition is HFS+ and the other is FAT32.
So far, I've been unable to find a way to restore the dmg to a flash drive where both... (17 Replies)
Discussion started by: paulcristo
17 Replies
LEARN ABOUT HPUX
dh_installdebconf
DH_INSTALLDEBCONF(1) Debhelper DH_INSTALLDEBCONF(1)
NAME
dh_installdebconf - install files used by debconf in package build directories
SYNOPSIS
dh_installdebconf [debhelperoptions] [-n] [--params]
DESCRIPTION
dh_installdebconf is a debhelper program that is responsible for installing files used by debconf into package build directories.
It also automatically generates the postrm commands needed to interface with debconf. The commands are added to the maintainer scripts by
dh_installdeb. See dh_installdeb(1) for an explanation of how that works.
Note that if you use debconf, your package probably needs to depend on it (it will be added to ${misc:Depends} by this program).
Note that for your config script to be called by dpkg, your postinst needs to source debconf's confmodule. dh_installdebconf does not
install this statement into the postinst automatically as it is too hard to do it right.
FILES
debian/package.config
This is the debconf config script, and is installed into the DEBIAN directory in the package build directory.
Inside the script, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands.
debian/package.templates
This is the debconf templates file, and is installed into the DEBIAN directory in the package build directory.
debian/po/
If this directory is present, this program will automatically use po2debconf(1) to generate merged templates files that include the
translations from there.
For this to work, your package should build-depend on po-debconf.
OPTIONS
-n, --no-scripts
Do not modify postrm script.
-- params
Pass the params to po2debconf.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLDEBCONF(1)