← Back to team overview

oiteam team mailing list archive

[Branch ~oiteam/pmmc-pte-pai/trunk] Rev 20: Update preinstall function in pai-data-installer.postinst

 

------------------------------------------------------------
revno: 20
git commit: e99d3e95d203fb88e64a98e022606034113561e9
committer: Laércio de Sousa <lbsousajr@xxxxxxxxx>
timestamp: Mon 2012-05-21 13:44:39 -0300
message:
  Update preinstall function in pai-data-installer.postinst
modified:
  debian/pai-data-installer.postinst


--
lp:pmmc-pte-pai
https://code.launchpad.net/~oiteam/pmmc-pte-pai/trunk

Your team Orientadores de Informática is subscribed to branch lp:pmmc-pte-pai.
To unsubscribe from this branch go to https://code.launchpad.net/~oiteam/pmmc-pte-pai/trunk/+edit-subscription
=== modified file 'debian/pai-data-installer.postinst'
--- debian/pai-data-installer.postinst	2012-05-21 16:40:55 +0000
+++ debian/pai-data-installer.postinst	2012-05-21 16:44:39 +0000
@@ -51,16 +51,12 @@
 preinstall_data() { 
     DATA_ORIG=${1}/usr/share/PTE-PMMC/pai
 
-    (
-        cd ${DATA_ORIG}/templates/2009/imagens/ajuda_arquivos
-        mv Execu*1.jpg "Execucao_do_PAI_1.jpg"
-    )
+    (cd ${DATA_ORIG}/templates/2009/imagens/ajuda_arquivos
+    mv Execu*1.jpg "Execucao_do_PAI_1.jpg")
 
-    (
-        cd ${DATA_ORIG}/atividades
-        rm -rf 0302HIS001
-        mv 1004POR014/1004PORr01409.js 1004POR014/1004POR01409.js
-    )
+    (cd ${DATA_ORIG}/atividades
+    rm -rf 0302HIS001
+    mv 1004POR014/1004PORr01409.js 1004POR014/1004POR01409.js)
 }
 
 install_data() {