From a8de3886aa65d77475ee1ebe537bfae4e5a5beab Mon Sep 17 00:00:00 2001
From: Holden Rohrer <hr@hrhr.dev>
Date: Fri, 24 Jul 2020 12:22:19 -0400
Subject: switched to ext-independent code (ver 1.1)

---
 Makefile       | 2 +-
 minimun.spec   | 4 ++--
 orig/minimun   | 4 ++--
 www/index.html | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index dff7921..37ce858 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .POSIX:
 
 DESTDIR=/home/minimun/minimun
-VER=1.0
+VER=1.1
 
 all: format.tex minimun
 
diff --git a/minimun.spec b/minimun.spec
index a17918b..ce5480e 100644
--- a/minimun.spec
+++ b/minimun.spec
@@ -1,7 +1,7 @@
 Summary: A perl cgi/pdfTeX script for doc generation
 Name: minimun
-Version: 1.0
-Release: 10
+Version: 1.1
+Release: 1
 License: GPL, Unknown
 Source: https://hrhr.dev/src/minimun.tar.gz
 URL: https://git.hrhr.dev/minimun/about
diff --git a/orig/minimun b/orig/minimun
index 8e0cab1..a61a4ca 100644
--- a/orig/minimun
+++ b/orig/minimun
@@ -27,10 +27,10 @@ copy("%%DEST%%/format.tex",$fh);
 
 print $fh "\n";
 
-if (index($ENV{'PATH_INFO'},'award.pdf') != -1){
+if (index($ENV{'PATH_INFO'},'award') != -1){
     say $fh "\\award{$FORM{'committee'}}{$FORM{'country'}}{$FORM{'award'}}{$FORM{'school'}}";
 }
-elsif (index($ENV{'PATH_INFO'},'room.pdf') != -1){
+elsif (index($ENV{'PATH_INFO'},'room') != -1){
     say $fh "\\room{$FORM{'committee'}}";
 }
 else{
diff --git a/www/index.html b/www/index.html
index 3fbcaf8..32634d4 100644
--- a/www/index.html
+++ b/www/index.html
@@ -19,14 +19,14 @@
   <h4>Form Type:</h4>
   <input type="radio" name="form" value="award" onchange="switchShow('award')" checked>Award</input><br>
   <input type="radio" name="form" id="roombutton" value="room" onchange="switchShow('room')">Room</input><br>
-  <form action="award.pdf" method="get" id="award" class="submit">
+  <form action="award" method="get" id="award" class="submit">
     Committee: <input type="text" name="committee"/><br>
     Country: <input type="text" name="country"/><br>
     Award Name: <input type="text" name="award"/><br>
     School: <input type="text" name="school"/><br>
     <input type="submit"/>
   </form>
-  <form action="room.pdf" style="display: none" id="room" class="submit">
+  <form action="room" style="display: none" id="room" class="submit">
     Committee: <input type="text" name="committee"/><br>
     <input type="submit"/>
   </form>
-- 
cgit