summaryrefslogtreecommitdiff
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
parent4d3d02e6f897c65430bd8e627212e175d36160e6 (diff)
add compability db-import from db-sync; and add COPYING to db-{init,pkg-add,pkg-rm}
l---------src/bin/db-import1
-rwxr-xr-xsrc/bin/db-init16
-rwxr-xr-xsrc/bin/db-pkg-add15
-rwxr-xr-xsrc/bin/db-pkg-rm15
4 files changed, 46 insertions, 1 deletions
diff --git a/src/bin/db-import b/src/bin/db-import
new file mode 120000
index 0000000..fc0dcd8
--- /dev/null
+++ b/src/bin/db-import
@@ -0,0 +1 @@
+db-sync \ No newline at end of file
diff --git a/src/bin/db-init b/src/bin/db-init
index 489c845..028ae50 100755
--- a/src/bin/db-init
+++ b/src/bin/db-init
@@ -1,5 +1,19 @@
#!/bin/bash
-# Creates the repo structure defined in config
+# Creates the repository structure 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"
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"
diff --git a/src/bin/db-pkg-rm b/src/bin/db-pkg-rm
index f70141f..1a651c4 100755
--- a/src/bin/db-pkg-rm
+++ b/src/bin/db-pkg-rm
@@ -1,4 +1,19 @@
#!/bin/bash
+# Remove 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"