View Single Post
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#62
Originally Posted by Bec View Post
BTW have you noticed how almost anyone doesn't give a damn if redpill gets removed?
I guess most people don't use it & don't care & the rest simply use dpkg.
So much for the great risks...
yes. with red pill you can break your OS just by tapping wrong app to install..

for gods sake, create a script and a icon for it to menu

DISCLAIMER: IF YOU DON'T KNOW WHAT YOU ARE TYPING, BE READY TO REFLASH YOUR DEVICE

first, create a folder to put a file you want installed. for example
xterm:
Code:
cd /home/user/MyDocs/
mkdir tbi
(note: tbi = to be installed)
mkdir habi
(note: habi = have allready been installed)
cd /home/user
touch installer.sh
and then let's create some content to installer.sh
(haven't tested if this works)
Code:
echo "
sudo gainroot
cd /home/user/MyDocs/tbi
dpkg -i *.deb
cp ./* /home/user/MyDocs/habi/
rm *" > /home/user/installer.sh
and then just modify rights to installer.sh
Code:
chmod +x /home/user/installer.sh
and icon creation is a task for yourself. this is just a demo what you can do with maemo in 10 minutes (it took about that to write this whole post).

that script will install a deb from folder tbi and copy it to folder habi after it has been installed. so just download a deb to tbi -folder and run the script.

i'd modify the script heavily before really make it execute with no output etc (aka via an icon with no terminal opening) just because it has no instructions what to do if something goes wrong.
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search

Last edited by ossipena; 2009-12-30 at 06:31. Reason: wrong paths x 2
 

The Following User Says Thank You to ossipena For This Useful Post: