ffsend/pkg/deb/prerm
Tim Visée 58103f9e30
Use a new Debian package generation method (#5)
* Build .deb packages for some architectures on CI to publish on GitHub

* Add release binaries to archive root, update Cargo.toml

* Simplify Debian package building using cargo-deb tooling

* Update LICENSE file copyright statement

* Update Travis CI script to properly build Debian release packages

* Remove obsolete Debian package files

* Update Cargo.toml and Cargo.lock, add create_deb prototype for source package
2018-06-01 00:04:13 +02:00

9 lines
250 B
Bash
Executable file

#!/usr/bin/env bash
# Unlink the ffs alias if it links to ffsend
if [[ -L /usr/bin/ffs ]] \
&& [[ $(ls -l /usr/bin/ffs | sed -e 's/.* -> //') == "/usr/bin/ffsend" ]]; \
then
echo "Removing ffs alias for ffsend..."
unlink /usr/bin/ffs
fi