mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
remove preinst script, not needed as we bumped our deps
This commit is contained in:
parent
1155a9219c
commit
4c32b36f53
35
debian/libvectorscan5.preinst
vendored
35
debian/libvectorscan5.preinst
vendored
@ -1,35 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
install|upgrade)
|
||||
if [ "$DEBIAN_FRONTEND" != noninteractive ] && \
|
||||
[ -f /proc/cpuinfo ] && \
|
||||
! grep -q '^flags[[:space:]]*:.*[[:space:]]sse4_2[[:space:]]' /proc/cpuinfo
|
||||
then
|
||||
. /usr/share/debconf/confmodule
|
||||
db_version 2.0
|
||||
db_input critical libvectorscan/cpu-sse4_2 || true
|
||||
db_go
|
||||
db_get libhyperscan/cpu-sse42
|
||||
if [ "$RET" = 'false' ]; then
|
||||
echo 'Aborting installation because of missing SSE4.2 extension.' >&2
|
||||
db_purge
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "preinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user