mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
scstadmin: Prevent manual installation if the scstadmin RPM has already been installed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -69,6 +69,8 @@ all:
|
||||
cd $(SCSTADMIN_DIR) && $(MAKE) $@
|
||||
|
||||
install:
|
||||
@if [ -z "$(DESTDIR)" ] && rpm -q scstadmin >/dev/null 2>&1; then \
|
||||
echo Error: the scstadmin RPM must be uninstalled first; false; fi
|
||||
@if ! perl -MExtUtils::MakeMaker -e '' >/dev/null 2>&1; then \
|
||||
echo Error: the Perl module ExtUtils::MakeMaker must be installed \
|
||||
first; false; fi
|
||||
|
||||
Reference in New Issue
Block a user