mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-06-28 15:39:02 +08:00
improved script in readme
added shell script to assist with packaging
This commit is contained in:
parent
0a68ee9a02
commit
e9ec76ea68
@ -23,8 +23,8 @@ $ sudo apt-get install cyber-mdbtools
|
||||
No repository for RPM distribution, but you can install from rpm file:
|
||||
|
||||
```bash
|
||||
wget https://rpm.cybercoder.site/rpm/cyber-mdbtools-0.8.1-2.x86_64.rpm
|
||||
rpm -i cyber-mdbtools-0.8.1-2.x86_64.rpm
|
||||
$ wget https://rpm.cybercoder.site/rpm/cyber-mdbtools-0.8.1-2.x86_64.rpm
|
||||
$ rpm -i cyber-mdbtools-0.8.1-2.x86_64.rpm
|
||||
```
|
||||
|
||||
> The RPM package was created using `alient` from the DEB package, so it may or may not work on your linux distribution.
|
||||
|
12
bin/package.sh
Normal file
12
bin/package.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Missing version"
|
||||
echo ""
|
||||
echo "Usage package.sh <version>"
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo checkinstall -y --pkgname=cyber-mdbtools --pkgversion=$1 --pkggroup=Tools --pkgsource=https://github.com/cyberemissary/mdbtools/archive/master.zip \
|
||||
--maintainer=admin@cyberemissary.com --provides=mdbtools
|
Loading…
Reference in New Issue
Block a user