summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:59:58 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:59:58 +0900
commitf5eb00b678c53659a90cae3bf63e94ef519545dc (patch)
treee1687dd3d68b1c9b005ff10d4aa884abe4b0eb52 /debian/postinst
parent3d35d1a52e6f265dfa3e6cce841be13535655163 (diff)
downloaddefault-files-emulator-f5eb00b678c53659a90cae3bf63e94ef519545dc.tar.gz
default-files-emulator-f5eb00b678c53659a90cae3bf63e94ef519545dc.tar.bz2
default-files-emulator-f5eb00b678c53659a90cae3bf63e94ef519545dc.zip
upload tizen1.0 source
Diffstat (limited to 'debian/postinst')
-rwxr-xr-xdebian/postinst17
1 files changed, 9 insertions, 8 deletions
diff --git a/debian/postinst b/debian/postinst
index 6956eb9..5ec6ff4 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,7 +1,7 @@
#!/bin/sh -e
#declare varibles
-GOALSTRING="element exclude keyword = ffdec_h264,ffdec_mpeg4,ffdec_h263,ffenc_mpeg4,ffenc_h263"
+GOALSTRING="element exclude keyword = ffdec_"
# create symbolic link
if [ ! -e home ]; then
@@ -20,14 +20,15 @@ else
fi
#modify ini file.
-if [ -e opt/etc/mmfw_player.ini ]; then
- FINDSTRING=`cat opt/etc/mmfw_player.ini | grep "element exclude keyword ="`
- sed s/"${FINDSTRING}"/"${GOALSTRING}"/ opt/etc/mmfw_player.ini > opt/etc/mmfw_player.ini_changed
- mv opt/etc/mmfw_player.ini_changed opt/etc/mmfw_player.ini
- rm opt/etc/mmfw_player.ini_emul
-else
- mv opt/etc/mmfw_player.ini_emul opt/etc/mmfw_player.ini
+if [ -e usr/etc/mmfw_player.ini ]; then
+ FINDSTRING=`cat usr/etc/mmfw_player.ini | grep "element exclude keyword ="`
+ sed s/"${FINDSTRING}"/"${GOALSTRING}"/ usr/etc/mmfw_player.ini > usr/etc/mmfw_player.ini_changed
+ mv usr/etc/mmfw_player.ini_changed usr/etc/mmfw_player.ini
fi
#apply fstab file
mv etc/fstab_emul etc/fstab
+
+#change file owner and group of home directories.
+chown -R 5000:5000 $BASE/opt/home/app
+chown -R 5100:5100 $BASE/opt/home/developer