]> git.plutz.net Git - lobster/blobdiff - cards/list.sh
display "new therapy" button only when no therapies exist
[lobster] / cards / list.sh
index 33ca99110ebdb4cf37ee81e9d42f00b816f3d146..12b4a9ebe28e0b8f936a33bbe2731255b49c8b86 100755 (executable)
@@ -77,8 +77,6 @@ print_cards(){
 
   while read cardfile; do
     cachefile="${_DATA}/cache/${cardfile##*/}.cache"
-    # if [ -s "$cachefile" -a "$cachefile" -nt "$cardfile" \
-    #                      -a "$cachefile" -nt "${_EXEC}/cards" ]; then
     if [ -s "$cachefile" -a "$cachefile" -nt "$cardfile" ]; then
       cat "$cachefile"
     else