A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

fix(change_color.sh): create parent dir if it doesnt exists (fixes #573)

fix(change_color.sh): create parent dir if it doesnt exists (fixes #573)

roundabout,
created on Monday, 26 April 2021, 22:08:27 (1619474907), received on Sunday, 11 May 2025, 13:23:03 (1746969783)
Author identity: GitHub <noreply@github.com>

1ad750f6e5585ae59abc7b8db34d73ebaaa293a4

change_color.sh

@@ -305,6 +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"/..
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            fi
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            mv "$GENERATED_PATH" "$DEST_PATH"