-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rakkess to linux/arm64 in Debian (#929)
- Loading branch information
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# If someone manages to install the real file on the system, | ||
# then redirect the link that is causing this script to run | ||
# and execute the real file. We do not remove it because that | ||
# causes problems with command hashing. | ||
if [ -x /usr/bin/$(basename "$0") ]; then | ||
if [ -L "$0" ]; then | ||
rm -f "$0" | ||
ln -s /usr/bin/$(basename "$0") "$0" | ||
fi | ||
exec /usr/bin/$(basename "$0") "$@" | ||
fi | ||
|
||
printf "$(tput setaf 1)%s is not supported on this platform (arm64)$(tput setaf 0)\n" "$(basename "$0")" >&2 | ||
exit 1 |