Browse Source

Update deb package script

pull/67/head
Duke Leto 3 years ago
parent
commit
f624aa4be4
  1. 2
      .gitignore
  2. 18
      src/scripts/make-deb.sh

2
.gitignore

@ -8,6 +8,8 @@ hushd
IDEWorkspaceChecks.plist IDEWorkspaceChecks.plist
komodo-cli komodo-cli
komodod komodod
hush-cli
hushd
*.mak *.mak
Makefile Makefile
Makefile.* Makefile.*

18
src/scripts/make-deb.sh

@ -19,18 +19,18 @@ if [ -z $HUSH_DIR ]; then
exit 1; exit 1;
fi fi
if [ ! -f $HUSH_DIR/komodod ]; then if [ ! -f $HUSH_DIR/hushd ]; then
echo "Couldn't find komodod in $HUSH_DIR . Please build komodod." echo "Couldn't find hushd in $HUSH_DIR . Please build hushd."
exit 1; exit 1;
fi fi
if [ ! -f $HUSH_DIR/komodo-cli ]; then if [ ! -f $HUSH_DIR/hush-cli ]; then
echo "Couldn't find komodo-cli in $HUSH_DIR . Please build komodo-cli." echo "Couldn't find hush-cli in $HUSH_DIR . Please build hush-cli."
exit 1; exit 1;
fi fi
if [ ! -f $HUSH_DIR/komodo-tx ]; then if [ ! -f $HUSH_DIR/hush-tx ]; then
echo "Couldn't find komodo-tx in $HUSH_DIR . Please build komodo-tx." echo "Couldn't find hush-tx in $HUSH_DIR . Please build hush-tx."
exit 1; exit 1;
fi fi
@ -73,9 +73,6 @@ mkdir $DIR > /dev/null
strip silentdragon strip silentdragon
cp silentdragon $DIR > /dev/null cp silentdragon $DIR > /dev/null
cp $HUSH_DIR/artifacts/komodod $DIR > /dev/null
cp $HUSH_DIR/artifacts/komodo-cli $DIR > /dev/null
cp $HUSH_DIR/artifacts/komodo-tx $DIR > /dev/null
cp $HUSH_DIR/artifacts/hushd $DIR > /dev/null cp $HUSH_DIR/artifacts/hushd $DIR > /dev/null
cp $HUSH_DIR/artifacts/hush-cli $DIR > /dev/null cp $HUSH_DIR/artifacts/hush-cli $DIR > /dev/null
cp $HUSH_DIR/artifacts/hush-tx $DIR > /dev/null cp $HUSH_DIR/artifacts/hush-tx $DIR > /dev/null
@ -113,8 +110,7 @@ mkdir -p $debdir/usr/local/bin
cat src/scripts/control | sed "s/RELEASE_VERSION/$APP_VERSION/g" > $debdir/DEBIAN/control cat src/scripts/control | sed "s/RELEASE_VERSION/$APP_VERSION/g" > $debdir/DEBIAN/control
cp silentdragon $debdir/usr/local/bin/ cp silentdragon $debdir/usr/local/bin/
# TODO: how does this interact with hushd deb ? cp $HUSH_DIR/artifacts/hushd $debdir/usr/local/bin/hushd
cp $HUSH_DIR/artifacts/komodod $debdir/usr/local/bin/hush-komodod
mkdir -p $debdir/usr/share/pixmaps/ mkdir -p $debdir/usr/share/pixmaps/
cp res/silentdragon.xpm $debdir/usr/share/pixmaps/ cp res/silentdragon.xpm $debdir/usr/share/pixmaps/

Loading…
Cancel
Save