1. Page d'accueil
  2. Linux

OpenMoko: opkg autocompletion with packages names

Le 28-09-2008 à 15:01 par erwin.Dans Linux

Nombre de commentaires : 0

Bored to find the package name with the slowly "opkg search | grep -i whatImSearching", I wrote a script to make opkg completion possible in 2008.9 (it could work with FSO). Here are the instructions :

Intro :

0pkg (zero pkg) is composed of one /usr/bin/0pkg-update script to generate another script of your packages in /0pkg-complete

Install :

Copy this 0pkg-update script to the FreeRunner /usr/bin with the name 0pkg-update. This can be done in ssh like :

wget http://pastebin.com/pastebin.php?dl=f1d7295c1 && mv f1d7295c1.sh /usr/bin/0pkg-update
Use :
. /0pkg-completion

I tried to make it as simple and FAST as possible. Let me now if you have difficulties or improvements ;-)

Ajouter un commentaire (Tout commentaire ne commençant pas par Bonjour sera supprimé pour cause de spam. Merci)


* Nécessaire mais ni communiqué, ni affiché.