From 31d763bc1f5dc567e614d33bef7c72c9f11727ab Mon Sep 17 00:00:00 2001
From: Cyril Rohr <cyril.rohr@gmail.com>
Date: Thu, 11 Sep 2014 09:39:49 +0000
Subject: [PATCH] Add new distributions on https://packager.io/gh/pkgr/gogs

* ubuntu 12.04
* debian 7
---
 .pkgr.yml                | 3 ++-
 packager/debian/postinst | 3 ---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.pkgr.yml b/.pkgr.yml
index 9988ad4d3a..e670ef8002 100644
--- a/.pkgr.yml
+++ b/.pkgr.yml
@@ -1,6 +1,7 @@
-buildpack: "https://github.com/kr/heroku-buildpack-go.git"
 targets:
   ubuntu-14.04:
+  ubuntu-12.04:
+  debian-7:
 build_dependencies:
   - mercurial
   - bzr
diff --git a/packager/debian/postinst b/packager/debian/postinst
index 90ff2b4618..de357967a6 100755
--- a/packager/debian/postinst
+++ b/packager/debian/postinst
@@ -20,9 +20,6 @@ APP_USER=$(${CLI} config:get APP_USER)
 APP_GROUP=$(${CLI} config:get APP_GROUP)
 APP_CONFIG="/etc/${APP_NAME}/conf/app.ini"
 
-# source debconf library
-. /usr/share/debconf/confmodule
-
 case "$1" in
 
   configure)