|
2011-05-29
, 08:57
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#2
|
Hello!!
I need a little help with scripting.
I want to install a .DEB from a script (4 in totoal).
I had the idea, but did not go right..
Essentially I want this:
(located in MyDocs)
Code:#!/bin/sh cd /specified-folder/ sudo dpkg -i genericprogram-name_test.deb sudo dpkg -i genericprogram-name1_modules.deb sudo dpkg -i generic_program-name2_special.deb sudo dpkg -i generic_program-name3.deb
#!/bin/sh cd /specified-folder/ echo "dpkg -i *.deb" | root echo "job done!"
The Following User Says Thank You to vi_ For This Useful Post: | ||
|
2011-05-29
, 08:58
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#3
|
|
2011-05-29
, 09:07
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#4
|
#!/bin/sh cd /specified-folder/
echo "dpkg -i *.deb" | root
echo "job done!"
The Following User Says Thank You to vi_ For This Useful Post: | ||
|
2011-05-29
, 09:12
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#5
|
|
2011-05-29
, 09:18
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#6
|
sudo dpkg -i *.deb
The Following User Says Thank You to vi_ For This Useful Post: | ||
|
2011-05-29
, 09:19
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#7
|
#!/bin/sh sudo apt-get install kernel-power cd wl1251-maemo/binary/kernel-power/ sudo dpkg -i *.deb
The Following 2 Users Say Thank You to vi_ For This Useful Post: | ||
|
2011-05-29
, 10:00
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#8
|
|
2011-05-29
, 10:08
|
|
Posts: 118 |
Thanked: 36 times |
Joined on Feb 2011
@ Belgium
|
#9
|
#!/bin/sh
|
2011-05-29
, 10:10
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#10
|
I need a little help with scripting.
I want to install a .DEB from a script (4 in totoal).
I had the idea, but did not go right..
Essentially I want this:
(located in MyDocs)
I use dpgk -i to install these *.deb files normally. Please help.
The thanks button? Sure! You can press it! I would!
Last edited by kingoddball; 2011-05-29 at 08:57.