Changeset 9889 for ipk


Ignore:
Timestamp:
Oct 2, 2011, 6:32:41 PM (15 years ago)
Author:
madie
Message:

[ipk] fix

Location:
ipk/source.sh4
Files:
2 edited

Legend:

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

    r9838 r9889  
    44echo "syncing disk"
    55sync
     6
     7mv /var/usr/local/share/titan/skin/0Acht5Zehn/16_9.png /var/usr/local/share/titan/skin/0Acht5Zehn/skin/16:9.png
     8mv /var/usr/local/share/titan/skin/0Acht5Zehn/4_3.png "/var/usr/local/share/titan/skin/0Acht5Zehn/skin/4:3.png
     9
    610if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    711        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
     
    1014fi
    1115
    12 mv /var/usr/local/share/titan/skin/0Acht5Zehn/16_9.png /var/usr/local/share/titan/skin/0Acht5Zehn/skin/16:9.png
    13 mv /var/usr/local/share/titan/skin/0Acht5Zehn/4_3.png "/var/usr/local/share/titan/skin/0Acht5Zehn/skin/4:3.png
    14 
    1516exit 0
  • ipk/source.sh4/titanskins_0Acht5Zehnwhite/CONTROL/postinst

    r9839 r9889  
    44echo "syncing disk"
    55sync
     6
     7mv /var/usr/local/share/titan/skin/0Acht5Zehn_white/16_9.png /var/usr/local/share/titan/skin/0Acht5Zehn_white/skin/16:9.png
     8mv /var/usr/local/share/titan/skin/0Acht5Zehn_white/4_3.png /var/usr/local/share/titan/skin/0Acht5Zehn_white/skin/4:3.png
     9
    610if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
    711        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
     
    1014fi
    1115
    12 mv /var/usr/local/share/titan/skin/0Acht5Zehn_white/16_9.png /var/usr/local/share/titan/skin/0Acht5Zehn_white/skin/16:9.png
    13 mv /var/usr/local/share/titan/skin/0Acht5Zehn_white/4_3.png "/var/usr/local/share/titan/skin/0Acht5Zehn_white/skin/4:3.png
    14 
    1516exit 0
Note: See TracChangeset for help on using the changeset viewer.