All pastes #331875 Raw Edit

Anonymous

public text v1 · immutable
#331875 ·published 2007-01-29 10:42 UTC
rendered paste body
# fix autostart folder to use freedesktop standard
SHAREDIR="/usr/share/autostart"
ETCDIR="/etc/xdg/autostart"
 if [ -d "$SHAREDIR" ]; then
  [[ -d "$ETCDIR" ]] || mkdir -p "$ETCDIR"
  mv -rf "$SHAREDIR"/* "$ETCDIR"
  rm -f "$SHAREDIR"
  ln -sf "$ETCDIR" "$SHAREDIR"
 fi