Commit 062b58df authored by Claes Sjofors's avatar Claes Sjofors

Access change to sh and some image files to apply to dpkg policy

parent 425fd5a3
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
...@@ -55,6 +55,13 @@ char default_values[][2][200] = { ...@@ -55,6 +55,13 @@ char default_values[][2][200] = {
{ "defaultProductionQbus", "1"}, { "defaultProductionQbus", "1"},
{ "defaultSimulationQbus", "999"}, { "defaultSimulationQbus", "999"},
{ "defaultNodeHierRoot", "Nodes"}, { "defaultNodeHierRoot", "Nodes"},
{ "defaultOpPlaces", "OpPlaces"},
{ "defaultServers", "Servers"},
{ "defaultIO", "IO"},
{ "defaultApplications", "Applications"},
{ "defaultOpOp", "Op"},
{ "defaultOpMaintenance", "Maintenance"},
{ "defaultOpDefault", "OpDefault"},
}; };
......
...@@ -8,6 +8,7 @@ pwrp() ...@@ -8,6 +8,7 @@ pwrp()
} }
alias sdf="source $pwra_db/pwra_env.sh set project" alias sdf="source $pwra_db/pwra_env.sh set project"
alias chd="source $pwra_db/pwrp_chd.sh"
alias pwrc="wb_cmd" alias pwrc="wb_cmd"
alias pwrs="wb_start.sh pwrp pwrp" alias pwrs="wb_start.sh pwrp pwrp"
alias pwra="wb -p pwrp pwrp" alias pwra="wb -p pwrp pwrp"
...@@ -112,8 +112,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -112,8 +112,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver
......
...@@ -32,12 +32,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -32,12 +32,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm
cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm
chmod a+x $pkgroot/DEBIAN/prerm
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver
......
...@@ -110,6 +110,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -110,6 +110,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 644 $pkgroot/DEBIAN/control
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt
......
...@@ -107,6 +107,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -107,6 +107,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
...@@ -112,6 +112,11 @@ cp $pkgsrc/rules $pkgroot/debian ...@@ -112,6 +112,11 @@ cp $pkgsrc/rules $pkgroot/debian
cp $pkgsrc/changelog $pkgroot/debian cp $pkgsrc/changelog $pkgroot/debian
cp $pkgsrc/postinst $pkgroot/debian cp $pkgsrc/postinst $pkgroot/debian
cp $pkgsrc/prerm $pkgroot/debian cp $pkgsrc/prerm $pkgroot/debian
chmod 755 $pkgroot/debian/postinst
chmod 755 $pkgroot/debian/prerm
chmod 755 $pkgroot/debian/rules
chmod 644 $pkgroot/debian/control
chmod 644 $pkgroot/debian/changelog
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt
......
...@@ -113,8 +113,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -113,8 +113,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver
......
...@@ -33,12 +33,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -33,12 +33,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm
cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm
chmod a+x $pkgroot/DEBIAN/prerm
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver
......
...@@ -112,6 +112,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -112,6 +112,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt
......
...@@ -109,6 +109,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -109,6 +109,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
...@@ -112,8 +112,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -112,8 +112,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver
......
...@@ -32,12 +32,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -32,12 +32,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm
cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm
chmod a+x $pkgroot/DEBIAN/prerm
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver
......
...@@ -110,6 +110,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -110,6 +110,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt
......
...@@ -107,6 +107,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -107,6 +107,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
...@@ -102,8 +102,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -102,8 +102,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver
......
...@@ -32,12 +32,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -32,12 +32,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm
cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm
chmod a+x $pkgroot/DEBIAN/prerm
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver
......
...@@ -104,6 +104,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -104,6 +104,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt
......
...@@ -107,6 +107,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -107,6 +107,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
...@@ -103,8 +103,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -103,8 +103,10 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwr$ver
......
...@@ -33,12 +33,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst ...@@ -33,12 +33,14 @@ echo "#!/bin/bash" > $pkgroot/DEBIAN/postinst
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/postinst
echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst echo "pwre_target=\"$pwre_target\"" >> $pkgroot/DEBIAN/postinst
cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst cat $pkgsrc/postinst >> $pkgroot/DEBIAN/postinst
chmod a+x $pkgroot/DEBIAN/postinst
echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm echo "#!/bin/sh" > $pkgroot/DEBIAN/prerm
echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm echo "ver=\"$ver\"" >> $pkgroot/DEBIAN/prerm
cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm cat $pkgsrc/prerm >> $pkgroot/DEBIAN/prerm
chmod a+x $pkgroot/DEBIAN/prerm
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrdemo$ver
......
...@@ -106,6 +106,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -106,6 +106,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrrt
......
...@@ -109,6 +109,9 @@ find $pkgroot -type d | xargs chmod 755 ...@@ -109,6 +109,9 @@ find $pkgroot -type d | xargs chmod 755
cp $pkgsrc/control $pkgroot/DEBIAN cp $pkgsrc/control $pkgroot/DEBIAN
cp $pkgsrc/postinst $pkgroot/DEBIAN cp $pkgsrc/postinst $pkgroot/DEBIAN
cp $pkgsrc/prerm $pkgroot/DEBIAN cp $pkgsrc/prerm $pkgroot/DEBIAN
chmod 755 $pkgroot/DEBIAN/postinst
chmod 755 $pkgroot/DEBIAN/prerm
chmod 644 $pkgroot/DEBIAN/control
# copyright # copyright
cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev cp $pkgsrc/copyright $pkgroot/usr/share/doc/pwrsev
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment