Skip to content

Commit

Permalink
Remove version file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamazi committed May 28, 2024
1 parent 74a9918 commit 5b125be
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
3 changes: 0 additions & 3 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ PostStart=/usr/bin/jailbox-post-start
PreStop=/usr/bin/jailbox-pre-stop
PostStop=

# version
source /etc/jailbox/version

# custom config
if [ -f /etc/jailbox/config.d/*.conf ]; then
source /etc/jailbox/config.d/*.conf
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
jailbox (0.5.0) experimental; urgency=low

* Remove version file

-- jamazi <jamazi@tutanota.com> Tue, 28 May 2024 11:22:49 +0300

jailbox (0.4.0) experimental; urgency=low

* Initial debian package
Expand Down
1 change: 0 additions & 1 deletion debian/install
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
config etc/jailbox/
torrc etc/jailbox/
version etc/jailbox/
jailbox-start usr/bin/
jailbox-stop usr/bin/
jailbox-post-start usr/bin/
Expand Down
1 change: 0 additions & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ if [ $UID -ne 0 ]; then
fi

install -Dm644 config /etc/jailbox/config
install -Dm644 version /etc/jailbox/version
install -Dm644 torrc /etc/jailbox/torrc
install -Dm755 jailbox-start /usr/bin/jailbox-start
install -Dm755 jailbox-stop /usr/bin/jailbox-stop
Expand Down
3 changes: 2 additions & 1 deletion unjailbox
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

source /etc/jailbox/config
readonly version="0.5.0"
USAGE="Run command without tor.\nUsage: $(basename $0) [-hv] [-u user] [-c command]"
USER="$(/usr/bin/logname)"

Expand All @@ -12,7 +13,7 @@ while getopts "hvu:c:" opt; do
exit 0
;;
v )
echo "Jailbox version ${version}"
echo "Jailbox version v${version}"
exit 0
;;
u )
Expand Down
1 change: 0 additions & 1 deletion version

This file was deleted.

0 comments on commit 5b125be

Please sign in to comment.