Missing project name

This commit is contained in:
Bob Mottram 2016-09-22 18:11:31 +01:00
parent eda29cbb6f
commit d017ec4081
2 changed files with 9 additions and 1 deletions

View File

@ -28,6 +28,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if [ ! $PROJECT_NAME ]; then
PROJECT_NAME='freedombone'
fi
# Different system variants which may be specified within
# the SYSTEM_TYPE option
VARIANT_FULL="full"

View File

@ -30,9 +30,13 @@
DEFAULT_LANGUAGE=$(echo $LANG)
if [ ! $PROJECT_NAME ]; then
PROJECT_NAME='freedombone'
fi
PROJECT_INSTALL_DIR=/usr/local/bin
if [ -f /usr/bin/${PROJECT_NAME} ]; then
PROJECT_INSTALL_DIR=/usr/bin
PROJECT_INSTALL_DIR=/usr/bin
fi
# username created by default within a debian image