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 dirname instead of /.. to handle non-existing directory situation

by roundabout, Wednesday, 12 May 2021, 11:25:11 (1620818711), pushed by roundabout, Sunday, 11 May 2025, 13:23:04 (1746969784)

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

76cac96ca7fe45dc9e5b9822b0fbb5f4cad47984

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 "$(readlink -f $DEST_PATH/..)"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        elif [[ ! -d "$(dirname "$DEST_PATH")" ]]; then
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        	mkdir -p "$(readlink -f "$(dirname "$DEST_PATH")")"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            fi
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            mv "$GENERATED_PATH" "$DEST_PATH"