Changeset 23370


Ignore:
Timestamp:
Sep 7, 2013, 2:14:36 PM (7 years ago)
Author:
nit
Message:

fix

Location:
ipk/source
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/bootlogos_bikergirl_0_1/CONTROL/postinst

    r23364 r23370  
    11#!/bin/sh
    2 INSTDIR="$1"
    32
    4 echo "successfully removed"
    5 if [ "/var/swap" == "$INSTDIR" ]; then
    6         echo "syncing disk"
    7         sync
    8 else
    9         SPACE=`getfreespace "$INSTDIR"`
    10         FREE=`expr $SPACE - 100`
    11         echo new freespace size $FREE kb
    12 fi
    133exit 0
  • ipk/source/bootlogos_bikergirl_0_1/CONTROL/postrm

    r23364 r23370  
    11#!/bin/sh
    2 INSTDIR="$1"
    32
    4 echo "successfully removed"
    5 if [ "/var/swap" == "$INSTDIR" ]; then
    6         echo "syncing disk"
    7         sync
    8 else
    9         SPACE=`getfreespace "$INSTDIR"`
    10         FREE=`expr $SPACE - 100`
    11         echo new freespace size $FREE kb
    12 fi
    133exit 0
  • ipk/source/bootlogos_bikergirl_0_1/CONTROL/preinst

    r23369 r23370  
    11#!/bin/sh
    22INSTDIR="$1"
    3 
    4 if [ "/var/swap" == "$INSTDIR" ]; then
    5         echo "syncing disk"
    6         sync
    7 fi
    8 
    9 model=`cat /etc/model`
    10 echo""
    11 echo "Checking your Boxtype...."
    12 echo "Some Plugins will not work correctly on your $model!"
    13 echo ""
    14 if [ "$model" = "" ]; then
    15         echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
    16         echo "Aborting installation..."
    17         exit 1
    18 else
    19         echo "Boxtype: $model OK"
    20 fi     
    213
    224echo "rename $INSTDIR/etc/boot/bootlogo.jpg -> $INSTDIR/etc/boot/original.jpg"
     
    246
    257echo "installing bootlogo ..."
    26 
    27 buildgroup=`cat /etc/.buildgroup`
    28 echo "checking OS"       
    29 if  [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then               
    30         echo ---------------------------                 
    31         echo DONT USE this IPK Package!!                 
    32         echo ---                 
    33         echo Only for $buildgroup Image!!               
    34         echo ---------------------------                 
    35         exit 1           
    36 fi
    378exit 0
  • ipk/source/bootlogos_bikergirl_0_1/CONTROL/prerm

    r23369 r23370  
    55mv "$INSTDIR/etc/boot/original.jpg" "$INSTDIR/etc/boot/bootlogo.jpg"
    66
    7 echo "successfully removed"
    8 if [ "/var/swap" == "$INSTDIR" ]; then
    9         echo "syncing disk"
    10         sync
    11 else
    12         SPACE=`getfreespace "$INSTDIR"`
    13         FREE=`expr $SPACE - 100`
    14         echo new freespace size $FREE kb
    15 fi
    167echo "remove bootlogo"
    178exit 0
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/postinst

    r23365 r23370  
    11#!/bin/sh
    2 INSTDIR="$1"
    32
    4 echo "successfully removed"
    5 if [ "/var/swap" == "$INSTDIR" ]; then
    6         echo "syncing disk"
    7         sync
    8 else
    9         SPACE=`getfreespace "$INSTDIR"`
    10         FREE=`expr $SPACE - 100`
    11         echo new freespace size $FREE kb
    12 fi
    133echo "please restart GUI to activate the new Font..."
    144exit 0
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/postrm

    r23365 r23370  
    11#!/bin/sh
    2 INSTDIR="$1"
    32
    4 echo "successfully removed"
    5 if [ "/var/swap" == "$INSTDIR" ]; then
    6         echo "syncing disk"
    7         sync
    8 else
    9         SPACE=`getfreespace "$INSTDIR"`
    10         FREE=`expr $SPACE - 100`
    11         echo new freespace size $FREE kb
    12 fi
    133exit 0
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/preinst

    r23365 r23370  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 
    4 if [ "/var/swap" == "$INSTDIR" ]; then
    5         echo "syncing disk"
    6         sync
    7 fi
    8 
    9 model=`cat /etc/model`
    10 echo""
    11 echo "Checking your Boxtype...."
    12 echo "Some Plugins will not work correctly on your $model!"
    13 echo ""
    14 if [ "$model" = "" ]; then
    15         echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
    16         echo "Aborting installation..."
    17         exit 1
    18 else
    19         echo "Boxtype: $model OK"
    20 fi
    21 
    22 buildgroup=`cat /etc/.buildgroup`
    23 echo "checking OS"       
    24 if  [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then               
    25         echo ---------------------------                 
    26         echo DONT USE this IPK Package!!                 
    27         echo ---                 
    28         echo Only for $buildgroup Image!!               
    29         echo ---------------------------                 
    30         exit 1           
    31 fi 
    322
    333echo "installing font ..."
  • ipk/source/fonts_actionmanitalic_1_0/CONTROL/prerm

    r23369 r23370  
    11#!/bin/sh
    2 INSTDIR="$1"
    32
    4 echo "successfully removed"
    5 if [ "/var/swap" == "$INSTDIR" ]; then
    6         echo "syncing disk"
    7         sync
    8 else
    9         SPACE=`getfreespace "$INSTDIR"`
    10         FREE=`expr $SPACE - 100`
    11         echo new freespace size $FREE kb
    12 fi
    133echo "removing font"
    144exit 0
Note: See TracChangeset for help on using the changeset viewer.