[med-svn] [Git][med-team/dcmtk][master] Fixed typo, forgot 'id' command

Lance Lin (@linqigang) gitlab at salsa.debian.org
Wed Apr 13 13:44:17 BST 2022



Lance Lin pushed to branch master at Debian Med / dcmtk


Commits:
4515e6c2 by Lance Lin at 2022-04-13T19:44:02+07:00
Fixed typo, forgot 'id' command

- - - - -


1 changed file:

- debian/dcmtk.postrm


Changes:

=====================================
debian/dcmtk.postrm
=====================================
@@ -16,7 +16,7 @@ if [ "$1" = "purge" ] ; then
 fi
 
 # Remove dcmtk user/group if they exist on cleanup
-if -u "dcmtk" > /dev/null 2>&1; then
+if id -u "dcmtk" > /dev/null 2>&1; then
 	echo "Removing 'dcmtk' user and group from the system...\n"
 	userdel dcmtk
 fi



View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/commit/4515e6c2538b09e0cbf7b318a04ec61c5dc76dc2

-- 
View it on GitLab: https://salsa.debian.org/med-team/dcmtk/-/commit/4515e6c2538b09e0cbf7b318a04ec61c5dc76dc2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220413/ef5fc191/attachment.htm>


More information about the debian-med-commit mailing list