Remove non-root requirement for clear script
This commit is contained in:
		@@ -7,11 +7,6 @@
 | 
				
			|||||||
# Make sure that AWK rules file is present, readable and correctly set in this script's parameters
 | 
					# Make sure that AWK rules file is present, readable and correctly set in this script's parameters
 | 
				
			||||||
 | 
					
 | 
				
			||||||
init() {
 | 
					init() {
 | 
				
			||||||
  # Only run if the user is not root
 | 
					 | 
				
			||||||
  if [[ $USER = 'root' ]] ; then
 | 
					 | 
				
			||||||
    echo "You cannot run this script as root!"
 | 
					 | 
				
			||||||
    exit 1
 | 
					 | 
				
			||||||
  fi
 | 
					 | 
				
			||||||
  source variables.conf
 | 
					  source variables.conf
 | 
				
			||||||
  repo_db_file=$repo_name.db.tar
 | 
					  repo_db_file=$repo_name.db.tar
 | 
				
			||||||
  repo_db_filesfile=$repo_name.files.tar
 | 
					  repo_db_filesfile=$repo_name.files.tar
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user