mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Remove dev files if present
This commit is contained in:
		| @@ -175,13 +175,17 @@ if [ "$OSNAME" != "AIX" ]; then | ||||
| 	# Modify xcat-dep.repo files to point to the correct place | ||||
| 	echo "===> Modifying the xcat-dep.repo files to point to the correct location..." | ||||
|  | ||||
| 	# make sure the mklocalrepo.sh script has execute permission (to ensure quality control) | ||||
| 	echo "===> Making sure that the mklocalrepo.sh file contains execute permission ..."  | ||||
|         ls -ltr ${SCRIPTPATH}/${WORKING_TARGET_DIR}/mklocalrepo.sh | ||||
| 	if [[ ! -x "${SCRIPTPATH}/${WORKING_TARGET_DIR}/mklocalrepo.sh" ]]; then | ||||
| 		echo "==> Adding execute ..." | ||||
| 		chmod +x ${SCRIPTPATH}/${WORKING_TARGET_DIR}/mklocalrepo.sh | ||||
| 	fi | ||||
|  | ||||
| 	echo "==> Checking if 'replacelinks' is in the xcat-deps, removing if there ..."  | ||||
| 	if [[ -f ${SCRIPTPATH}/${WORKING_TARGET_DIR}/replacelinks ]]; then | ||||
| 		rm -f ${SCRIPTPATH}/${WORKING_TARGET_DIR}/replacelinks | ||||
| 	fi | ||||
| fi | ||||
|  | ||||
| if [ "$OSNAME" == "AIX" ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user