![]() |
Script for packaging a .deb
i'am work on new sound theme for os2008.
i follow the very nice HowTo for here http://synthesize.us/HOWTO_make_a_de...e_without_dpkg Like you see, is a script for make a .deb package... But i dont understand how to run properly this script. + i'am a french guy but iam suppose to be good in english... here is a code supposing to be a script : Code:
#!/bin/bashwhat mean every # before line... and i dont know if i need to make this in individual line or if i can drop all the script somewhere for make it... i need put all that in xterminal in root mode or other applications??? this link upthere give a script but i dont give how to run this script properly... let me know if you have a better explainations about this script and how i can make it whit more explaination because now iam completely lost...but i never abort... TX |
Re: Script for packaging a .deb
Hi
every line that starts with # is a comment and is not run by the script it looks like you are suppose to save this script in the same directory as your .wav files open a terminal and cd into the directory where you saved the script chmod +x script ./script the script as-is will make a package named "your-package-name" so you will want to change that |
Re: Script for packaging a .deb
i put a vista folder in /home/user/
in this folder i put my script.sh file and 19 sounds .wav i open the xterm here my output Code:
iam shure i modified a script.sh good i place it where is my 19 sounds and make in terminal but no work... here my script.sh Code:
#!/bin/bash |
Re: Script for packaging a .deb
script is the script name; so if it's script.sh, try:
Code:
chmod +x script.shFor example: Code:
cd /path/to/correct/directory/ |
Re: Script for packaging a .debi
ok here my output
Code:
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)TX |
Re: Script for packaging a .deb
Code:
1: /home/user/vista # chmod +x script.shLine 2 failed, because you're trying to add permissions to "script", which doesn't exist. Line 3 is the error message. Since line 1 succeeded, you should now be able to run your script. When you're in the same directory as the script type Code:
./script.shCode:
#!/bin/bashCode:
#!/bin/sh |
Re: Script for packaging a .deb
ok i modified my script.sh
here my output... its look i have problem whit ar Code:
/home/user/vista # ./script.shCode:
#!/bin/shi know maybe something wrong in the script... or i dont have application for manage .ar... :confused: |
Re: Script for packaging a .deb
A little Terminal work can give us some guidance:
Code:
~ $ ar # see if ar is installed on my systemCode:
# apt-get install binutils |
Re: Script for packaging a .deb
i cant install binutils
here my xterm output Code:
~ $ Sudo gainroot |
Re: Script for packaging a .deb
OK, I'm guessing a bit here, but I think you need to install the diablo/tools repository. try to install this.
After installing that repository, try to install binutils again. After you install binutils, disable that repository. You can do that in the Application Manager. |
| All times are GMT. The time now is 19:54. |
vBulletin® Version 3.8.8