diff options
Diffstat (limited to 'src/oh-buildopk')
-rw-r--r-- | src/oh-buildopk | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/oh-buildopk b/src/oh-buildopk index d743824..bcea2c0 100644 --- a/src/oh-buildopk +++ b/src/oh-buildopk @@ -39,13 +39,7 @@ while [ ${#} -gt 0 ]; do tar -czf ../data.tar.gz . cd .. # Pack control.tar.gz. - mkdir control - cp ../${1}.pkg/control control - [ -f ../${1}.pkg/preinst ] && cp ../${1}.pkg/preinst control - [ -f ../${1}.pkg/postinst ] && cp ../${1}.pkg/postinst control - [ -f ../${1}.pkg/prerm ] && cp ../${1}.pkg/prerm control - [ -f ../${1}.pkg/postrm ] && cp ../${1}.pkg/postrm control - cd control + cd ${1}.control tar -czf ../control.tar.gz . cd .. # Pack opk file. |