A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

fix(change_color.sh): use readlink to remove .. from the dest parent dir (fixes #573)

fix(change_color.sh): use readlink to remove .. from the dest parent dir (fixes #573)

by roundabout, Thursday, 29 April 2021, 10:50:26 (1619693426), pushed by roundabout, Sunday, 11 May 2025, 13:23:04 (1746969784)

Author identity: Yauhen Kirylau <actionless.loveless@gmail.com>

3565e023930fb5e3a03450c128611b69a5c59f8d

change_color.sh

@@ -305,8 +305,8 @@ meson install -C _build

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            GENERATED_PATH="$tempdir/share/themes/Materia$COLOR_SUFFIX$SIZE_SUFFIX"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            if [[ -d "$DEST_PATH" ]]; then
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            	rm -r "$DEST_PATH"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        elif [[ ! -d "$DEST_PATH"/.. ]]; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	mkdir -p "$DEST_PATH"/..
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        elif [[ ! -d "$(readlink -f $DEST_PATH/..)" ]]; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	mkdir -p "$(readlink -f $DEST_PATH/..)"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            fi
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            mv "$GENERATED_PATH" "$DEST_PATH"