install.sh 322 B

1234567891011121314151617
  1. #!/usr/bin/env sh
  2. set -e
  3. LIB_TARGET="/usr/local/lib/los-torreros/"
  4. BIN_TARGET="/usr/local/bin/"
  5. APPLICATION_DIR="/usr/share/applications/"
  6. if [ ! -d "$LIB_TARGET" ]; then
  7. mkdir $LIB_TARGET
  8. fi
  9. cp los-torreros.py $LIB_TARGET
  10. cp icon.svg $LIB_TARGET
  11. cp los-torreros $BIN_TARGET
  12. cp los-torreros.desktop $APPLICATION_DIR