Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit ab8e3fd

Browse files
committed
01-alternatives.sh: dangerous mistake! prerm and postinst
1 parent 596471c commit ab8e3fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scriptlet/01-alternatives.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# a more precise one
22
# addalt link name path prio
33
addalt(){
4-
echo "update-alternatives --install $(argprint "$@")" >> $PKGDIR/postinst
5-
echo "update-alternatives --remove $(argprint "$2" "$3")" >> $PKGDIR/prerm
4+
echo "update-alternatives --install $(argprint "$@")" >> abscripts/postinst
5+
echo "update-alternatives --remove $(argprint "$2" "$3")" >> abscripts/prerm
66
}
77

88
# alternative path link prio [path2 link2 prio2 ..]

0 commit comments

Comments
 (0)