rename profile script to avoid spaces

This commit is contained in:
Brendan Forster 2018-11-21 14:58:21 -04:00
parent 3e83e1ce4e
commit 51c9efec11
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
set -e
PROFILE_D_FILE="/etc/profile.d/${productFilename}.sh"
PROFILE_D_FILE="/etc/profile.d/github-desktop.sh"
INSTALL_DIR="/opt/${productFilename}"
SCRIPT="#!/bin/sh
export PATH=$INSTALL_DIR:\$PATH"

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -e
PROFILE_D_FILE="/etc/profile.d/${productFilename}.sh"
PROFILE_D_FILE="/etc/profile.d/github-desktop.sh"
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)