Re: How to give permission to a script file inside a deb?
the content of my script remove files from themes/base folders and it replace them with symlinks
|
Re: How to give permission to a script file inside a deb?
Then it should work with hints given above ...
|
Re: How to give permission to a script file inside a deb?
but how to execute the script now, what i need to put before ?
sudo script.sh? devel-su script.sh? su script.sh? #sudo script.sh? |
Re: How to give permission to a script file inside a deb?
OK, you can do it like this..
1. Before packaging you need your_package.aegis file that include this: Code:
<aegis> Code:
[Desktop Entry] |
Re: How to give permission to a script file inside a deb?
where is should be placed in the package? your_package.aegis
that would be "packagename.aegis"? |
Re: How to give permission to a script file inside a deb?
yes "packagename.aegis"
P.S. I don't know how you package your .deb file, but I use this method: http://talk.maemo.org/showthread.php?t=86291 By what I wrote before I removed password prompt from N9QT. |
Re: How to give permission to a script file inside a deb?
but where it should be placed? inside the DEBIAN folder?
|
Re: How to give permission to a script file inside a deb?
No, in: your_packagename/debian
full path: Code:
/scratchbox/users/your_name/home/your_name/package_name/debian |
Re: How to give permission to a script file inside a deb?
P.S. Also add to the "rules" file:
Code:
chmod 4755 debian/your_packagename/opt/mytheme/changer/script.sh |
Re: How to give permission to a script file inside a deb?
thank you schturman, but im kind confused because i dont understand so much of this
i only package the folder to deb and do you mean debian folder inside the package? and the rules file must be inside debian folder too? |
All times are GMT. The time now is 00:22. |
vBulletin® Version 3.8.8