You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Desktop: Linux: Add Centos 7 for no sandbox (#5401)
Co-authored-by: Further <geant.4.ro.o.t@gmail.com>
This commit is contained in:
		| @@ -180,11 +180,12 @@ SANDBOXPARAM="" | ||||
| if command -v lsb_release &> /dev/null; then | ||||
|   DISTVER=$(lsb_release -is) && DISTVER=$DISTVER$(lsb_release -rs) | ||||
|   DISTCODENAME=$(lsb_release -cs) | ||||
|   DISTMAJOR=$(lsb_release -rs|cut -d. -f1) | ||||
|   #----------------------------------------------------- | ||||
|   # Check for "The SUID sandbox helper binary was found, but is not configured correctly" problem. | ||||
|   # It is present in Debian 1X. A (temporary) patch will be applied at .desktop file | ||||
|   # Linux Mint 4 Debbie is based on Debian 10 and requires the same param handling. | ||||
|   if [[ $DISTVER =~ Debian1. ]] || [ "$DISTVER" = "Linuxmint4" ] && [ "$DISTCODENAME" = "debbie" ] | ||||
|   if [[ $DISTVER =~ Debian1. ]] || [ "$DISTVER" = "Linuxmint4" ] && [ "$DISTCODENAME" = "debbie" ] || [ "$DISTVER" = "CentOS" ] && [[ "$DISTMAJOR" =~ 6|7 ]] | ||||
|   then | ||||
|     SANDBOXPARAM=" --no-sandbox" | ||||
|   fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user