helixarch / debtap

A script for converting .deb packages into Arch Linux packages, focused on accuracy
GNU General Public License v2.0
1.35k stars 78 forks source link

unexpected token #79

Closed zine0 closed 1 year ago

zine0 commented 1 year ago

When I press "sudo pacman -U name" to install. "/tmp/alpm_jrS0xw/.INSTALL: line 75: syntax error near unexpected token }' /tmp/alpm_jrS0xw/.INSTALL: line 75:}'" was printed on my screen. My version is 3.5.1

Thank for your help

clickingbuttons commented 1 year ago

Looks like the issue is the empty bash function syntax.

pre_install() {
    #
}

should be:

pre_install() {
    :
}
zine0 commented 1 year ago

Thanks for you help.Now is work