Ignore:
Timestamp:
May 5, 2013, 8:01:11 PM (13 years ago)
Author:
gost
Message:

[samsungskins] fix

Location:
ipk/source.sh4/lcdsamsungskins_PICONS_320x240/CONTROL
Files:
2 edited

Legend:

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

    r21381 r21391  
    33echo "successfully installed"
    44link=`readlink /var/swap`
     5if [ -z $link ]; then
     6 link="kein link"
     7fi
    58if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then
    69        SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
  • ipk/source.sh4/lcdsamsungskins_PICONS_320x240/CONTROL/preinst

    r21381 r21391  
    2525echo "swapstick found...."
    2626link=`readlink /var/swap`
     27if [ -z $link ]; then
     28 link="kein link"
     29fi
    2730if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then
    2831        SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
Note: See TracChangeset for help on using the changeset viewer.