Changeset 12551 for ipk/source.sh4


Ignore:
Timestamp:
Dec 23, 2011, 5:52:32 PM (14 years ago)
Author:
madie
Message:

[ipk] fix control files

Location:
ipk/source.sh4/titankeymaps_neutrino/CONTROL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/titankeymaps_neutrino/CONTROL/postrm

    r12395 r12551  
    11#!/bin/sh
    22TMP=/tmp/.keymaps
    3 echo "successful removed"
    4 echo "syncing disk"
     3echo "Erfolgreich deinstalliert..."
     4
    55sync
    6         echo "restoring original rcmap"
     6        echo "Stelle Original rcmap wieder her"
    77        mv /var/etc/titan/rcmap_original /var/etc/titan/rcmap
    88
  • ipk/source.sh4/titankeymaps_neutrino/CONTROL/preinst

    r12395 r12551  
    77model=`cat /etc/model`
    88echo""
    9 echo "Checking your Boxtype...."
    10 echo "Some Plugins will not work correctly on your $model!"
     9echo "Überprüfe Boxtype...."
     10echo "Manche Plugins funktionieren nicht auf ihrer $model!"
    1111echo ""
    1212if [ "$model" = "" ]; then
     
    2222        FREE=`expr $SPACE - 100`
    2323        SIZE=10
    24         echo "checking freespace"
     24        echo "Überprüfe freien Speicherplatz....."
    2525        echo packege size $SIZE kb
    2626        echo freespace size $FREE kb
    2727        if  [ "$FREE" -lt "$SIZE" ]; then
    28                 echo "sorry no freespace left on device"
     28                echo "Entschuldigung, nicht genug freier Speicherplatz verfügbar!"
    2929                exit 1
    3030        else
     
    3333fi
    3434buildgroup=`cat /etc/.buildgroup`
    35 echo "checking OS"       
     35echo "Überprüfe Betriebssystem..."       
    3636if  [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then               
    3737        echo ---------------------------                 
     
    4343fi
    4444   
    45 echo "installing keymap ..."
     45echo "installiere keymap ..."
    4646
    47         echo "backing up rcmap -> rcmap_original"
     47        echo "Sichere rcmap -> rcmap_original"
    4848        mv /var/etc/titan/rcmap /var/etc/titan/rcmap_original
    4949
  • ipk/source.sh4/titankeymaps_neutrino/CONTROL/prerm

    r12395 r12551  
    1010        echo freespace size $FREE kb
    1111fi
    12 echo "remove Neutrino Keymap"
     12echo "Deinstalliere Neutrino Keymap"
    1313exit 0
Note: See TracChangeset for help on using the changeset viewer.