mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
Compare commits
No commits in common. "32fd5048c17c4a65b4b14030ee239a4dc48427fd" and "bd656386b93ef9f4e07dda1d1ea01f9a0b8f103e" have entirely different histories.
32fd5048c1
...
bd656386b9
9
debian/rules
vendored
9
debian/rules
vendored
@ -1,7 +1,5 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
export DH_VERBOSE=1
|
||||
export PYBUILD_DESTDIR=debian/tmp
|
||||
export PYBUILD_SYSTEM=custom
|
||||
@ -11,8 +9,6 @@ export PYBUILD_INSTALL_ARGS=make PYTHON={interpreter} DESTDIR={destdir} install
|
||||
export PYBUILD_CLEAN_ARGS=make clean
|
||||
export PYBUILD_TEST_ARGS=make PYTHON={interpreter} check-tests
|
||||
|
||||
FBX_VERSION := $(shell ./run --develop --version | awk 'NF{ print $$NF }')
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
@ -23,11 +19,6 @@ override_dh_auto_install-indep:
|
||||
# Ensure the list of dependencies is not empty.
|
||||
test -s debian/freedombox.substvars || exit 1
|
||||
|
||||
# Check that FreedomBox version number is matching.
|
||||
ifneq ($(FBX_VERSION),$(DEB_VERSION))
|
||||
>&2 echo "WARNING: FreedomBox version $(FBX_VERSION) does not match package version $(DEB_VERSION)."
|
||||
endif
|
||||
|
||||
override_dh_installsystemd:
|
||||
# Do not enable or start any service other than FreedomBox service. Use
|
||||
# of --tmpdir is a hack to workaround an issue with dh_installsystemd
|
||||
|
||||
@ -152,14 +152,6 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><option>--version</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Show the version of FreedomBox and exit.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@ -39,8 +39,6 @@ def parse_arguments():
|
||||
help='list package dependencies for essential modules')
|
||||
parser.add_argument('--list-apps', default=False, nargs='*',
|
||||
help='list apps')
|
||||
parser.add_argument('--version', action='store_true', default=None,
|
||||
help='show version and exit')
|
||||
|
||||
return parser.parse_args()
|
||||
|
||||
@ -127,10 +125,6 @@ def main():
|
||||
|
||||
adapt_config(arguments)
|
||||
|
||||
if arguments.version:
|
||||
print(f'FreedomBox {__version__}')
|
||||
sys.exit(0)
|
||||
|
||||
if arguments.list_dependencies is not False:
|
||||
log.default_level = 'ERROR'
|
||||
module_loader.load_modules()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user