Changeset 10675


Ignore:
Timestamp:
10/25/11 16:54:45 (11 years ago)
Author:
obi
Message:

[ipk] change feed packs

Location:
ipk/source.sh4
Files:
6 edited
3 moved

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/feed_enigma/CONTROL/postinst

    r10617 r10675  
    33echo "successfully installed"
    44echo "syncing disk"
     5
     6SECRET=`cat /var/etc/ipkg/secret-feed.conf`
     7
     8if [ `cat /var/etc/ipkg/official-feed.conf | grep "$SECRET" | wc -l` -eq 0 ]; then
     9        OLD=`cat /var/etc/ipkg/official-feed.conf`     
     10        mv /var/etc/ipkg/official-feed.conf /var/etc/ipkg/official-feed.conf.secret
     11        echo "$OLD" > /var/etc/ipkg/official-feed.conf
     12        echo "$SECRET" >> /var/etc/ipkg/official-feed.conf
     13fi
     14       
    515sync
    616exit 0
  • ipk/source.sh4/feed_enigma/CONTROL/postrm

    r10617 r10675  
    22TMP=/tmp/.feeds
    33echo "successfully removed"
     4echo "restore official-feed"
     5mv /var/etc/ipkg/official-feed.conf.secret /var/etc/ipkg/official-feed.conf
    46echo "syncing disk"
    57sync
  • ipk/source.sh4/feed_enigma/var/etc/ipkg/secret-feed.conf

    r10674 r10675  
    1 src/gz cross http://svn.aaf-board.com/public/ipk/aaf-titan-prealpha3/sh4/enigma2
    21src/gz secret http://97.74.32.10/svn/ipk/sh4/enigma2
    32
  • ipk/source.sh4/feed_neutrino/CONTROL/postinst

    r10617 r10675  
    33echo "successfully installed"
    44echo "syncing disk"
     5
     6SECRET=`cat /var/etc/ipkg/secret-feed.conf`
     7
     8if [ `cat /var/etc/ipkg/official-feed.conf | grep "$SECRET" | wc -l` -eq 0 ]; then
     9        OLD=`cat /var/etc/ipkg/official-feed.conf`     
     10        mv /var/etc/ipkg/official-feed.conf /var/etc/ipkg/official-feed.conf.secret
     11        echo "$OLD" > /var/etc/ipkg/official-feed.conf
     12        echo "$SECRET" >> /var/etc/ipkg/official-feed.conf
     13fi
     14       
    515sync
    616exit 0
  • ipk/source.sh4/feed_neutrino/CONTROL/postrm

    r10617 r10675  
    22TMP=/tmp/.feeds
    33echo "successfully removed"
     4echo "restore official-feed"
     5mv /var/etc/ipkg/official-feed.conf.secret /var/etc/ipkg/official-feed.conf
    46echo "syncing disk"
    57sync
  • ipk/source.sh4/feed_neutrino/var/etc/ipkg/secret-feed.conf

    r10674 r10675  
    1 src/gz cross http://svn.aaf-board.com/public/ipk/aaf-titan-prealpha3/sh4/neutrino
    21src/gz secret http://97.74.32.10/svn/ipk/sh4/neutrino
    32
  • ipk/source.sh4/feed_titan/CONTROL/postinst

    r10617 r10675  
    33echo "successfully installed"
    44echo "syncing disk"
     5
     6SECRET=`cat /var/etc/ipkg/secret-feed.conf`
     7
     8if [ `cat /var/etc/ipkg/official-feed.conf | grep "$SECRET" | wc -l` -eq 0 ]; then
     9        OLD=`cat /var/etc/ipkg/official-feed.conf`     
     10        mv /var/etc/ipkg/official-feed.conf /var/etc/ipkg/official-feed.conf.secret
     11        echo "$OLD" > /var/etc/ipkg/official-feed.conf
     12        echo "$SECRET" >> /var/etc/ipkg/official-feed.conf
     13fi
     14       
    515sync
    616exit 0
  • ipk/source.sh4/feed_titan/CONTROL/postrm

    r10617 r10675  
    22TMP=/tmp/.feeds
    33echo "successfully removed"
     4echo "restore official-feed"
     5mv /var/etc/ipkg/official-feed.conf.secret /var/etc/ipkg/official-feed.conf
    46echo "syncing disk"
    57sync
  • ipk/source.sh4/feed_titan/var/etc/ipkg/secret-feed.conf

    r10674 r10675  
    1 src/gz cross http://svn.aaf-board.com/public/ipk/aaf-titan-prealpha3/sh4/titan
    21src/gz secret http://97.74.32.10/svn/ipk/sh4/titan
    32
Note: See TracChangeset for help on using the changeset viewer.