Jake Guffey
1fef54ecdf
Fix __package* state usage
...
Removed __package*/parameter/required
Added state to __package*/parameter/optional
Modified man pages for __package*
Added optional check for state parameter
Defaulted state parameter to "present"
2012-10-07 11:51:15 -04:00
Nico Schottelius
e0f80f0103
include object_name in warning
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 11:54:34 +01:00
Nico Schottelius
6afcb0e9ee
indent + simplify
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:34:22 +01:00
Nico Schottelius
48f3252de5
correct state error message to use new variable
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:29:51 +01:00
Nico Schottelius
aa53a3f221
better warning
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:12:49 +01:00
Nico Schottelius
1713a70428
begin changes to __package_luarocks and __package_pkg_openbsd
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-09 19:06:13 +01:00
Nico Schottelius
52849b91c5
warn about deprecated usage
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-09 10:25:05 +01:00
Nico Schottelius
8e5a0f83c5
rename explorer to state, being more consistent internally
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-09 10:10:13 +01:00
Nico Schottelius
602e57455d
support absent/present in __package_apt
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-08 22:23:49 +01:00
Nico Schottelius
242ce6dfd2
first round of absent/present changes
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-08 22:16:09 +01:00
Evax Software
9317d57ff1
make virtual package detection more robust in __package_apt
2012-01-18 09:31:11 +01:00
Evax Software
e4100e324a
better handling of virtual packages in __package_apt
2012-01-16 18:04:15 +01:00
Nico Schottelius
837489ce85
remove obsolete preseed code from __package_apt
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 15:54:08 +02:00
Steven Armstrong
c631a609ed
+docs
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 16:43:30 +02:00
Nico Schottelius
519212e396
error out if state given is unknown
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 16:53:56 +02:00
Nico Schottelius
ac976c9f70
find __package* -type f -exec sed -i 's/uninstalled/removed/g' {} \;
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 16:25:27 +02:00
Nico Schottelius
4ebcdc3ef1
find __package* -type f -exec sed -i 's/deinstalled/removed/g' {} \;
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 16:25:13 +02:00
Nico Schottelius
cee51f0088
make __package_apt use DEBIAN_FRONTEND=noninteractive
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-01 13:12:00 +02:00
Nico Schottelius
e21283c579
remove preseeding support from __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-01 13:08:47 +02:00
Nico Schottelius
4ff794b11a
__file now supports --preseed (including the documentation)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-21 10:07:38 +01:00
Nico Schottelius
240b4aebbc
begin to add --preseed to __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-21 09:14:42 +01:00
Nico Schottelius
c601298760
gencode -> gencode-remote in types
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:39:01 +01:00
Steven Armstrong
59e774b08d
fix merge conflict in changelog
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-16 14:41:43 +01:00
Nico Schottelius
63452e0fee
document __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 16:37:34 +01:00
Steven Armstrong
a50e380174
fix merge conflict
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-14 09:26:18 +01:00
Nico Schottelius
62c6446412
exit true in case packet is not installed
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 13:36:58 +01:00
Steven Armstrong
614ff21f4a
/deinstalled/uninstalled/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-03 10:37:49 +01:00
Nico Schottelius
442a175755
update explorer for __package_apt and install only if not already installed (same for deinstall)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 09:12:55 +01:00
Steven Armstrong
4c447b59ac
need value from file not file itself
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-03-03 08:28:24 +01:00
Nico Schottelius
3a10475151
only install/deinstall apt packages if necessary
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 19:21:15 +01:00
Nico Schottelius
c90ae945a8
add explorer for apt to find out pkg_status
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 19:14:32 +01:00
Nico Schottelius
7c34ccde99
update gencode to contain something useful
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 18:54:31 +01:00
Nico Schottelius
5594669b86
add template for __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 18:37:15 +01:00