Skip to content

Commit 271f8cd

Browse files
9gelppaeps
authored andcommitted
no need to remove /lib/* files in prerm
1 parent b81195b commit 271f8cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/deb.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,8 @@ jobs:
141141
done
142142
for f in ./udev/*; do
143143
echo "rm -f /etc/udev/rules.d/$(basename $f)" >> postinstall.sh
144-
echo "rm -f /etc/udev/rules.d/$(basename $f)" >> preremove.sh
145144
echo "ln -s /lib/udev/rules.d/$(basename $f) /etc/udev/rules.d/" >> postinstall.sh
146-
echo "rm -f /lib/udev/rules.d/$(basename $f)" >> preremove.sh
145+
echo "rm -f /etc/udev/rules.d/$(basename $f)" >> preremove.sh
147146
done
148147
echo "ln -sf /opt/hackman/nginx/default /etc/nginx/sites-enabled/default" >> postinstall.sh
149148
echo "rm /etc/nginx/sites-enabled/default" >> preremove.sh

0 commit comments

Comments
 (0)