#35 Add clean.sh script
Merged 2 years ago by glb. Opened 2 years ago by glb.
glb/fedoramagazine-theme cleanup  into  master

file added
+16
@@ -0,0 +1,16 @@ 

+ #!/usr/bin/bash

+ # vim:set ts=3:

+ 

+ FILESTODELETE=$(sed 's!^/!!' .gitignore)

+ 

+ echo "WARNING: This will delete" $FILESTODELETE

+ echo "as well as the fedoramagazine container."

+ echo "Everything will have to be re-downloaded"

+ echo "and re-installed from scratch."

+ echo

+ read -e -n 1 -p 'Proceed [y/n]?: ' CONFIRMATION

+ 

+ if [[ $CONFIRMATION == y ]]; then

+ 	sudo rm -rf $FILESTODELETE

+ 	podman pod rm -f fedoramagazine

+ fi

no initial comment

Pull-Request has been merged by glb

2 years ago
Metadata
Changes Summary 1