Build legacy drivers and publish per-OS packages with web activation and DEB
This commit is contained in:
@@ -24,12 +24,20 @@ fi
|
||||
if [[ -n $backup ]]; then install -m 0600 "$backup" "$conf"; fi
|
||||
[[ -f $conf ]] || { echo "Missing $conf after original installation" >&2; exit 1; }
|
||||
chmod 0600 "$conf"
|
||||
install -D -m 0755 packaging/mars-ipxpkt-net "$prefix/libexec/mars-ipxpkt-net"
|
||||
install -D -m 0755 publish-mtcp.sh "$prefix/sbin/mars-publish-mtcp"
|
||||
install -D -m 0755 publish-winclient.sh "$prefix/sbin/mars-publish-winclient"
|
||||
install -D -m 0755 build/mars-pcapd "$prefix/sbin/mars-pcapd"
|
||||
install -D -m 0755 build/mars-print "$prefix/sbin/mars-print"
|
||||
install -D -m 0755 build/mars_vme "$prefix/sbin/mars_vme"
|
||||
install -d -m 0700 /var/lib/mars-vme /var/lib/mars-vme/bindery-backups /var/lib/mars-vme/script-backups
|
||||
install -d -m 0755 "$prefix/share/mars-vme/www"
|
||||
for f in index.html app.js style.css login.html login.js; do install -m 0644 "websetup/$f" "$prefix/share/mars-vme/www/$f"; done
|
||||
install -D -m 0755 install-driver-packages.py "$prefix/libexec/mars-install-drivers"
|
||||
if [[ -f releases/windows/manifest.json ]]; then
|
||||
install -d -m 0755 "$prefix/share/mars-vme/driver-packages"
|
||||
install -m 0644 releases/windows/* "$prefix/share/mars-vme/driver-packages/"
|
||||
fi
|
||||
if [[ -d /etc/systemd/system ]]; then
|
||||
install -m 0644 mars_vme.service /etc/systemd/system/mars_vme.service
|
||||
if [[ -d /run/systemd/system ]]; then systemctl daemon-reload; fi
|
||||
|
||||
Reference in New Issue
Block a user