~gbmor/clinte

4b30a05ba2650c0459919f8dfc379088c5dd16a0 — Benjamin Morrison a month ago 3eac316
explicit test if /etc/profile.d is a directory rather than for the

general existence of /etc/profile.d
1 files changed, 1 insertions(+), 1 deletions(-)

M install.sh
M install.sh => install.sh +1 -1
@@ 34,7 34,7 @@ else
    install -m666 -o root -g "$FILEGRP" clinte.json "$DBDIR"
fi

if [ -e /etc/profile.d ]; then
if [ -d /etc/profile.d ]; then
    printf '%s\n' 'Installing check_new_clinte_posts.sh to /etc/profile.d'
    install -m644 -o root -g "$FILEGRP" check_new_clinte_posts.sh /etc/profile.d/
fi