Skip to content

Commit

Permalink
fixed regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed May 5, 2022
1 parent 196a952 commit 7d2b3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crackle
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ APT_CACHE="apt-cache -o Dir::Cache=$APTCACHE -o Dir::State=$APTSTATE -o Dir::Etc

# Installs/updates Crackle into ~/.local ~/.config and ~/.cache
[ "$operation" = "setup" ] && {
[[ ! -f "$SCRP_DIR/bin/*" ]] && err "submodule missing";
[[ $(basename $SCRP_DIR) = "bin" && -d $HOME/crackle ]] && rm -r $HOME/crackle;
[[ $(basename $SCRP_DIR) = "bin" || -f $HOME/Downloads/crackle.zip ]] && upgrade_crackle;
[[ -z "$(ls $SCRP_DIR/bin)" && $(basename $SCRP_DIR) != "bin" ]] && err "submodule missing";
bashrc=$(grep crackle "$HOME"/.bashrc);
profile=$(grep crackle "$HOME"/.profile);

Expand Down

0 comments on commit 7d2b3df

Please sign in to comment.