summaryrefslogtreecommitdiff
path: root/lib/SlackBuilder/Package.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SlackBuilder/Package.hs')
-rw-r--r--lib/SlackBuilder/Package.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/SlackBuilder/Package.hs b/lib/SlackBuilder/Package.hs
index 4371040..f940072 100644
--- a/lib/SlackBuilder/Package.hs
+++ b/lib/SlackBuilder/Package.hs
@@ -17,15 +17,14 @@ import qualified Text.URI as URI
import Crypto.Hash (Digest, MD5)
import SlackBuilder.Trans
import Control.Monad.Catch (MonadThrow)
+import System.Process (CmdSpec(..))
-- | Contains information how a package can be updated.
data Package = Package
{ latest :: Updater
, category :: Text
, name :: Text
- , homepage :: URI
- , requires :: [Text]
- , reupload :: Bool
+ , reupload :: Maybe [CmdSpec]
}
-- | Download URI with the MD5 checksum of the target.