Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
fix: Display an error if trying to install deb package and aren't root
Browse files Browse the repository at this point in the history
  • Loading branch information
robsavoye committed Apr 30, 2024
1 parent b3ab7a6 commit 4adac99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ prompt()
if test -w /etc/default/underpass; then
echo "# Database configuration for ${config['title']}" >> /etc/default/underpass
else
echo "ERROR: You don't have write permission to /etc/default/underpass"
echo "ERROR: You don't have write permission to /etc/default/underpass! use sudo"
exit
fi

Expand Down

0 comments on commit 4adac99

Please sign in to comment.