summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/calendar')
-rwxr-xr-xshare/hackvr/examples/calendar/calvr3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hackvr/examples/calendar/calvr b/share/hackvr/examples/calendar/calvr
index 74074cb..ecb717a 100755
--- a/share/hackvr/examples/calendar/calvr
+++ b/share/hackvr/examples/calendar/calvr
@@ -100,6 +100,9 @@ stdbuf -oL grep -v '^#' | while true;do
derp=notexists
fi
x-terminal-emulator -e nano "${file}"
+ if [ -s "${file}" ];then
+ rm "${file}"
+ fi
if [ -e "${file}" ];then
merp=exists
else