Skip to content
Permalink
Browse files
debian: remove gcc check. don't package rocksdb on x86_32
  • Loading branch information
grooverdan committed Aug 8, 2020
1 parent cca55a9 commit 699a437
Showing 1 changed file with 4 additions and 6 deletions.
@@ -50,12 +50,10 @@ then
sed "/Package: libmariadbd-dev/,/^$/d" -i debian/control
fi

# Convert gcc version to numberical value. Format is Mmmpp where M is Major
# version, mm is minor version and p is patch.
# -dumpfullversion & -dumpversion to make it uniform across old and new (>=7)
GCCVERSION=$(gcc -dumpfullversion -dumpversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' \
-e 's/\.\([0-9]\)/0\1/g' \
-e 's/^[0-9]\{3,4\}$/&00/')
if [[ $(arch) =~ i[346]86 ]]
then
sed "/Package: mariadb-plugin-rocksdb/,/^$/d" -i debian/control
fi

# If rocksdb-tools is not available (before Debian Buster and Ubuntu Disco)
# remove the dependency from the RocksDB plugin so it can install properly

0 comments on commit 699a437

Please sign in to comment.