Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:heinlein-support:testing:mailtrace
mailtrace
pre_mk_deb.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pre_mk_deb.sh of Package mailtrace
#!/bin/bash # pre_mk_deb.sh # run this script everytime bevor attempting to make a deb package # 2012.05.02 Isaac Hailperin <i.hailperin@heinlein-support.de> package_name=mailtrace major=`ls mailtrace-?.?.tar.gz |cut -d "-" -f 2 |cut -d "." -f 1` minor=`ls mailtrace-?.?.tar.gz |cut -d "-" -f 2 |cut -d "." -f 2` orig_dirname=${package_name}-${major}.${minor} orig_tgz_file=${orig_dirname}.tar.gz new_tgz_file=${package_name}-${major}.${minor}.tar.gz tar xzf $orig_tgz_file cp mailtrace-gui-httpd.conf $orig_dirname cp Heinlein-Mailtrace-Admin-Handbuch.pdf $orig_dirname tar czf $new_tgz_file $orig_dirname NEW_MD5SUM=`md5sum $new_tgz_file |cut -d " " -f 1` OLD_MD5SUM=`grep tar.gz mailtrace.dsc |cut -d " " -f 2` echo $OLD_MD5SUM $NEW_MD5SUM sed -i "s/$OLD_MD5SUM/$NEW_MD5SUM/" mailtrace.dsc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor