Changeset 1660 in genapp


Ignore:
Timestamp:
Feb 22, 2019, 1:44:55 PM (3 years ago)
Author:
ehb
Message:

disallow install as root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbin/install

    r1598 r1660  
    11#!/bin/bash
     2
     3if [[ $EUID -eq 0 ]]; then
     4   echo "This script can not be run as root"
     5   exit 1
     6fi
    27
    38export GENAPP="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
Note: See TracChangeset for help on using the changeset viewer.