Changeset 281

Show
Ignore:
Timestamp:
10/01/07 09:23:55 (14 months ago)
Author:
free
Message:

* Added wine and channels commands

Location:
cdd-utils/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • cdd-utils/trunk/cdd-config

    r274 r281  
    335335    menu=/etc/X11/fluxbox/system.fluxbox-menu 
    336336    if ! exists $menu; then warning "$menu not found"; return; fi     
    337     sed -i -e 's/^   [exit] (Exit)/   [exec] (Exit) {sudo halt} <>' $fluxbox 
     337    sed -i -e 's/^   \[exit\] (Exit)/   [exec] (Exit) {sudo halt} <>/g' $menu 
    338338    update-menus 
     339} 
     340 
     341# Tell Wine to use ALSA 
     342wine () { 
     343    inf=/usr/share/wine/wine.inf 
     344    if ! exists $inf; then warning "$inf not found"; return; fi     
     345    if ! grep -q '^HKCU,Software\Wine\Drivers,"Audio",2,"alsa"' $inf; then 
     346        echo 'HKCU,Software\Wine\Drivers,"Audio",2,"alsa"' >> $inf 
     347    fi 
     348} 
     349 
     350# Fix update-manager channels 
     351channels () { 
     352    info=/usr/share/update-manager/channels/Debian.info 
     353    if ! exists $info; then warning "$info not found"; return; fi     
     354    sed -i -e 's/^Description: Debian "Etch" (testing)/Description: Debian "Etch" 4.0/g' $info 
     355    sed -i -e '/./{H;$!d;}' -e 'x;/Sarge/d;' $info 
    339356} 
    340357 
     
    355372        $(echo $@|tr " " "_") 
    356373    ;; 
    357  
    358374    *) 
    359375        $@ 
  • cdd-utils/trunk/debian/changelog

    r276 r281  
    1 cdd-utils (0.2~pre2) unstable; urgency=low 
     1cdd-utils (0.2~pre3) UNRELEASED; urgency=low 
    22 
    33  * Added fluxbox command 
     4  * Added wine and channels commands 
    45 
    56 -- Free Ekanayaka <freee@debian.org>  Fri, 28 Sep 2007 12:18:56 +0200