View Single Post
Posts: 286 | Thanked: 117 times | Joined on Jan 2010
#1
i am trying to move a file via postinst script and i keep getting this error when i try to install the deb file.

Code:
 subprocess new pre-removal script returned error exit status 2
: command not foundblue-sky.postinst: line 2: 
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 127
my postinst script:

Code:
#! /bin/sh -e

mv -f /usr/share/hildon-desktop/transitions.ini /usr/share/hildon-desktop/transitions-backedup.ini
mv -f /usr/share/themes/Blue-sky/transitions/* /usr/share/hildon-desktop/


THEMEDIR='/usr/share/themes/Blue-sky'

if [ ! -d $THEMEDIR ]; then

  exit 0

fi


hildon-theme-cacher $THEMEDIR



exit 0

.can't figure out what am i doing wrong..

Last edited by crash16; 2010-06-12 at 23:51.
 

The Following User Says Thank You to crash16 For This Useful Post: