Skip to content

Contribution reference

Kreyren edited this page Nov 6, 2019 · 3 revisions

Kreytricks is maintained by it's community so this document is made to make contribution and maintainance easier

Helper functions

w_workaround_winebug

Is used to apply workaround if winebug affects used wine

# If wine 3.18 or lower is used, die since wine is affected by bug 45680
if w_workaround_wine_bug 45680 "Upgrade to 3.18 for win64 support" ,3.18; then
    w_package_unsupported_win64
fi

w_try

w_try is used to terminate a program

# use w_die if tar returns false
w_try tar -Jxf "${W_CACHE}/${W_PACKAGE}/${faudio_archive}"

w_die

Exit program if invoked

# exits if used
w_die "Exit here"
Clone this wiki locally