FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 05-29-2008, 09:55 PM
carlocci
 
Default bacman

Hello,
as I wanted to learn a little about general shell scripting, with the
great help of shining and Allan I wrote this script which rebuilds a
package using the meta data in the pacman database and actual system
files.
Forum discussion: http://bbs.archlinux.org/viewtopic.php?id=49168
Script: http://pastebin.com/m3f763692
Thanks for your time,

Carlo "carlocci" Bersani


PS: Here's the patch for the autocompletition
--- pacman 2008-05-29 23:49:22.000000000 +0200
+++ pacman.new 2008-05-29 23:48:58.000000000 +0200
@@ -361,3 +361,13 @@
}
complete -o filenames -F _pacman pacman

+## bacman completition
+
+_bacman ()
+{
+ cur=${COMP_WORDS[COMP_CWORD]}
+ _installed_pkgs
+}
+
+complete -o filenames -F _bacman bacman
+

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 
Old 05-29-2008, 09:58 PM
"Dan McGee"
 
Default bacman

On Thu, May 29, 2008 at 4:55 PM, carlocci <carlocci@gmail.com> wrote:
> Hello,
> as I wanted to learn a little about general shell scripting, with the
> great help of shining and Allan I wrote this script which rebuilds a
> package using the meta data in the pacman database and actual system
> files.
> Forum discussion: http://bbs.archlinux.org/viewtopic.php?id=49168
> Script: http://pastebin.com/m3f763692
> Thanks for your time,

Would you mind submitting it inline so we can comment on it here?

Thanks,
-Dan

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 01:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org