summaryrefslogtreecommitdiff
path: root/src/bin/db-pkg-add
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-28 15:51:16 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-28 15:51:16 -0300
commit7b253d8fb9e14a5f3eb17a4dfba34bc7399adce5 (patch)
treeb6cdeb2ea5f220ed4a7a4eace6ec3d872c95abcd /src/bin/db-pkg-add
parent4d3d02e6f897c65430bd8e627212e175d36160e6 (diff)
add compability db-import from db-sync; and add COPYING to db-{init,pkg-add,pkg-rm}
Diffstat (limited to 'src/bin/db-pkg-add')
-rwxr-xr-xsrc/bin/db-pkg-add15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/bin/db-pkg-add b/src/bin/db-pkg-add
index 710f24b..718e7d4 100755
--- a/src/bin/db-pkg-add
+++ b/src/bin/db-pkg-add
@@ -1,4 +1,19 @@
#!/bin/bash
+# Add package to repository defined in config
+# Copyright (C) 2012-2015 Parabola Hackers <https://www.parabola.nu>
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
CONFIG_DIR="$(dirname "$(readlink -e "${0}")")/etc"