Skip to content

Commit

Permalink
Add cleanup scripts (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Dec 25, 2023
1 parent 996a4b2 commit 8094208
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions airootfs/root/customize_airootfs/scripts/2000-automatic-cleanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -eu

# automatic cleanup
pushd "automatic"
# remove installation config
rm config.json

# remove installation log
rm sdnext.log
popd
11 changes: 11 additions & 0 deletions airootfs/root/customize_airootfs/scripts/9999-cleanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -eu

# cache
rm -fr /home/tori/.cache

# matplotlib
rm -fr /home/tori/.config/matplotlib

# keras
rm -fr /home/tori/.keras

0 comments on commit 8094208

Please sign in to comment.